mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 06:14:16 +02:00
[improvements][ui]
This commit is contained in:
@@ -516,7 +516,7 @@ class AppsTable(QTableWidget):
|
|||||||
header_horizontal = self.horizontalHeader()
|
header_horizontal = self.horizontalHeader()
|
||||||
for i in range(self.columnCount()):
|
for i in range(self.columnCount()):
|
||||||
if maximized:
|
if maximized:
|
||||||
if i in (0, 1, 2):
|
if i not in (3, 4, 7):
|
||||||
header_horizontal.setSectionResizeMode(i, QHeaderView.ResizeToContents)
|
header_horizontal.setSectionResizeMode(i, QHeaderView.ResizeToContents)
|
||||||
else:
|
else:
|
||||||
header_horizontal.setSectionResizeMode(i, QHeaderView.Stretch)
|
header_horizontal.setSectionResizeMode(i, QHeaderView.Stretch)
|
||||||
|
|||||||
@@ -383,7 +383,7 @@ class ManageWindow(QWidget):
|
|||||||
|
|
||||||
self.thread_load_installed = NotifyInstalledLoaded()
|
self.thread_load_installed = NotifyInstalledLoaded()
|
||||||
self.thread_load_installed.signal_loaded.connect(self._finish_loading_installed)
|
self.thread_load_installed.signal_loaded.connect(self._finish_loading_installed)
|
||||||
self.setMinimumHeight(int(screen_size.height() * 0.4))
|
self.setMinimumHeight(int(screen_size.height() * 0.5))
|
||||||
self.setMinimumWidth(int(screen_size.width() * 0.6))
|
self.setMinimumWidth(int(screen_size.width() * 0.6))
|
||||||
|
|
||||||
def update_custom_actions(self):
|
def update_custom_actions(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user