diff --git a/CHANGELOG.md b/CHANGELOG.md index d666d654..7adb912a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - table columns width for maximized window - settings window size rules moved to stylesheet files - enforcing maximum width and height for the management window based on the primary screen resolution [#261](https://github.com/vinifmor/bauh/issues/261) - - updates: only displaying both the installed and latest versions on the "version" column if its width is no more than 20% of the primary screen width (otherwise just the latest version will be displayed) + - updates: only displaying both the installed and latest versions on the "version" column if its width is no more than 22% of the primary screen width (otherwise just the latest version will be displayed) ### Fixes - Flatpak diff --git a/bauh/view/qt/apps_table.py b/bauh/view/qt/apps_table.py index 4eb6525c..abd09c1c 100644 --- a/bauh/view/qt/apps_table.py +++ b/bauh/view/qt/apps_table.py @@ -387,7 +387,7 @@ class PackagesTable(QTableWidget): f"{self.i18n['version.latest']}: {pkg.model.latest_version})" label_version.setText(f"{label_version.text()} > {pkg.model.latest_version}") - if label_version.sizeHint().width() / self.screen_width > 0.20: + if label_version.sizeHint().width() / self.screen_width > 0.22: label_version.setText(pkg.model.latest_version) item.setToolTip(tooltip)