[view] fix: prepare panel sometimes being displayed on the top left corner

This commit is contained in:
Vinicius Moreira
2022-12-16 08:30:59 -03:00
parent 6488bc2ee0
commit 2524dd0b07
2 changed files with 5 additions and 3 deletions

View File

@@ -293,7 +293,7 @@ class PreparePanel(QWidget, TaskManager):
self.setMinimumWidth(int(screen_size.width() * 0.5))
self.setMinimumHeight(int(screen_size.height() * 0.35))
self.setMaximumHeight(int(screen_size.height() * 0.95))
centralize(self)
centralize(self, align_top_left=False)
def start(self, tasks: int):
self.started_at = time.time()