mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 17:54:14 +02:00
[view] improvement: 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
This commit is contained in:
@@ -277,7 +277,9 @@ class ManageWindow(QWidget):
|
||||
self.table_container.setLayout(QVBoxLayout())
|
||||
self.table_container.layout().setContentsMargins(0, 0, 0, 0)
|
||||
|
||||
self.table_apps = PackagesTable(self, self.icon_cache, download_icons=bool(self.config['download']['icons']))
|
||||
self.table_apps = PackagesTable(self, self.icon_cache,
|
||||
download_icons=bool(self.config['download']['icons']),
|
||||
screen_width=int(screen_size.width()))
|
||||
self.table_apps.change_headers_policy()
|
||||
self.table_container.layout().addWidget(self.table_apps)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user