Fixed template and netVM alignment (ticket #454)

This commit is contained in:
Agnieszka Kostrzewa 2012-03-02 02:57:54 +01:00
parent b915d725bc
commit a78db0f51d

View File

@ -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