mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-10 01:54:15 +02:00
[view.qt] fix: wrong widgets centralisation issue
This commit is contained in:
@@ -253,6 +253,7 @@ class PreparePanel(QWidget, TaskManager):
|
||||
self.bt_bar.add_widget(self.bt_skip)
|
||||
|
||||
self.layout().addWidget(self.bt_bar)
|
||||
centralize(self)
|
||||
|
||||
def hide_output(self):
|
||||
self.current_output_task = None
|
||||
@@ -293,7 +294,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, align_top_left=False)
|
||||
centralize(self)
|
||||
|
||||
def start(self, tasks: int):
|
||||
self.started_at = time.time()
|
||||
|
||||
Reference in New Issue
Block a user