[flatpak] new model update for Flatpak 1.4.X

This commit is contained in:
Vinicius Moreira
2020-01-13 15:47:33 -03:00
parent 8dd114da85
commit 4a26381c04
4 changed files with 12 additions and 8 deletions

View File

@@ -846,8 +846,8 @@ class ManageWindow(QWidget):
new_width = max(table_width, toolbar_width, topbar_width)
# if self.bt_upgrade.isVisible():
# new_width *= 1.03 # this extra size is not because of the toolbar button, but the table upgrade buttons
if self.bt_upgrade.isVisible():
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())