From f5d01040257cfaec3cbf4f87c678395cdae0d606 Mon Sep 17 00:00:00 2001 From: Agnieszka Kostrzewa Date: Tue, 6 Mar 2012 10:45:59 +0100 Subject: [PATCH] Narrowed Upd column in main window. Fixed horizontal header size. --- mainwindow.ui | 2 +- qubesmanager/main.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mainwindow.ui b/mainwindow.ui index 0de6d08..50bc8e6 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -150,7 +150,7 @@ - Upd + Up Update info diff --git a/qubesmanager/main.py b/qubesmanager/main.py index 7beb2ed..c340f4d 100755 --- a/qubesmanager/main.py +++ b/qubesmanager/main.py @@ -527,7 +527,9 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow): self.actionCPU_Graph.setChecked(False) self.table.setColumnHidden( self.columns_indices["MEM Graph"], True) self.actionMEM_Graph.setChecked(False) - self.table.setColumnWidth(self.columns_indices["Upd"], 50) + self.table.setColumnWidth(self.columns_indices["Upd"], 40) + + self.table.horizontalHeader().setResizeMode(QHeaderView.Fixed) self.table.sortItems(self.columns_indices["MEM"], Qt.DescendingOrder)