mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 02:24:16 +02:00
[fix][ui] panel resizing
This commit is contained in:
@@ -847,7 +847,7 @@ class ManageWindow(QWidget):
|
|||||||
new_width = max(table_width, toolbar_width, topbar_width)
|
new_width = max(table_width, toolbar_width, topbar_width)
|
||||||
|
|
||||||
if self.bt_upgrade.isVisible():
|
if self.bt_upgrade.isVisible():
|
||||||
new_width *= 1.05 # this extra size is not because of the toolbar button, but the table upgrade buttons
|
new_width *= 1.07 # this extra size is not because of the toolbar button, but the table upgrade buttons
|
||||||
|
|
||||||
if (self.pkgs and accept_lower_width) or new_width > self.width():
|
if (self.pkgs and accept_lower_width) or new_width > self.width():
|
||||||
self.resize(new_width, self.height())
|
self.resize(new_width, self.height())
|
||||||
|
|||||||
Reference in New Issue
Block a user