Fixed template and netVM alignment (ticket #454)
This commit is contained in:
parent
b915d725bc
commit
a78db0f51d
@ -165,7 +165,7 @@ class VmTemplateItem (QTableWidgetItem):
|
|||||||
else:
|
else:
|
||||||
self.setText("---")
|
self.setText("---")
|
||||||
|
|
||||||
self.setTextAlignment(Qt.AlignHCenter)
|
self.setTextAlignment(Qt.AlignCenter)
|
||||||
|
|
||||||
|
|
||||||
class VmIconWidget (QWidget):
|
class VmIconWidget (QWidget):
|
||||||
@ -196,7 +196,7 @@ class VmNetvmItem (QTableWidgetItem):
|
|||||||
else:
|
else:
|
||||||
self.setText("---")
|
self.setText("---")
|
||||||
|
|
||||||
self.setTextAlignment(Qt.AlignHCenter)
|
self.setTextAlignment(Qt.AlignCenter)
|
||||||
|
|
||||||
|
|
||||||
class VmUsageBarWidget (QWidget):
|
class VmUsageBarWidget (QWidget):
|
||||||
@ -347,7 +347,7 @@ class VmUpdateInfoWidget(QWidget):
|
|||||||
layout.addWidget(self.label, alignment=Qt.AlignCenter)
|
layout.addWidget(self.label, alignment=Qt.AlignCenter)
|
||||||
else:
|
else:
|
||||||
self.icon = QLabel("")
|
self.icon = QLabel("")
|
||||||
layout.addWidget(self.icon, alignment=Qt.AlignHCenter)
|
layout.addWidget(self.icon, alignment=Qt.AlignCenter)
|
||||||
self.setLayout(layout)
|
self.setLayout(layout)
|
||||||
|
|
||||||
self.previous_outdated = False
|
self.previous_outdated = False
|
||||||
|
Loading…
Reference in New Issue
Block a user