[fix][ui] panel resizing

This commit is contained in:
Vinícius Moreira
2020-01-13 18:23:25 -03:00
parent be7783d6b5
commit a0f83df4c1

View File

@@ -847,7 +847,7 @@ class ManageWindow(QWidget):
new_width = max(table_width, toolbar_width, topbar_width)
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():
self.resize(new_width, self.height())