From 495c579d58ceadbe97df466044665cef6e8070d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Moreira?= Date: Mon, 13 Jan 2020 18:26:36 -0300 Subject: [PATCH] [fix][ui] panel resizing --- bauh/view/qt/window.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bauh/view/qt/window.py b/bauh/view/qt/window.py index 9994f00e..0679bce0 100755 --- a/bauh/view/qt/window.py +++ b/bauh/view/qt/window.py @@ -845,9 +845,7 @@ class ManageWindow(QWidget): topbar_width = self.toolbar_top.sizeHint().width() new_width = max(table_width, toolbar_width, topbar_width) - - if self.bt_upgrade.isVisible(): - new_width *= 1.07 # this extra size is not because of the toolbar button, but the table upgrade buttons + new_width *= 1.05 # 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())