From a78db0f51dd5e8caa1fc34b193e6909c2e21e2a8 Mon Sep 17 00:00:00 2001 From: Agnieszka Kostrzewa Date: Fri, 2 Mar 2012 02:57:54 +0100 Subject: [PATCH] Fixed template and netVM alignment (ticket #454) --- qubesmanager/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qubesmanager/main.py b/qubesmanager/main.py index 942ba02..5ad358a 100755 --- a/qubesmanager/main.py +++ b/qubesmanager/main.py @@ -165,7 +165,7 @@ class VmTemplateItem (QTableWidgetItem): else: self.setText("---") - self.setTextAlignment(Qt.AlignHCenter) + self.setTextAlignment(Qt.AlignCenter) class VmIconWidget (QWidget): @@ -196,7 +196,7 @@ class VmNetvmItem (QTableWidgetItem): else: self.setText("---") - self.setTextAlignment(Qt.AlignHCenter) + self.setTextAlignment(Qt.AlignCenter) class VmUsageBarWidget (QWidget): @@ -347,7 +347,7 @@ class VmUpdateInfoWidget(QWidget): layout.addWidget(self.label, alignment=Qt.AlignCenter) else: self.icon = QLabel("") - layout.addWidget(self.icon, alignment=Qt.AlignHCenter) + layout.addWidget(self.icon, alignment=Qt.AlignCenter) self.setLayout(layout) self.previous_outdated = False