Text columns aligned left (#555)
This commit is contained in:
parent
e59d9b72f4
commit
fab3190798
@ -273,7 +273,7 @@ class VmTemplateItem (QTableWidgetItem):
|
|||||||
else:
|
else:
|
||||||
self.setText("---")
|
self.setText("---")
|
||||||
|
|
||||||
self.setTextAlignment(Qt.AlignCenter)
|
self.setTextAlignment(Qt.AlignVCenter)
|
||||||
|
|
||||||
|
|
||||||
class VmNetvmItem (QTableWidgetItem):
|
class VmNetvmItem (QTableWidgetItem):
|
||||||
@ -287,7 +287,7 @@ class VmNetvmItem (QTableWidgetItem):
|
|||||||
else:
|
else:
|
||||||
self.setText("---")
|
self.setText("---")
|
||||||
|
|
||||||
self.setTextAlignment(Qt.AlignCenter)
|
self.setTextAlignment(Qt.AlignVCenter)
|
||||||
|
|
||||||
|
|
||||||
class VmUsageBarWidget (QWidget):
|
class VmUsageBarWidget (QWidget):
|
||||||
@ -517,7 +517,7 @@ class VmSizeOnDiskItem (QTableWidgetItem):
|
|||||||
self.vm = vm
|
self.vm = vm
|
||||||
self.value = 0
|
self.value = 0
|
||||||
self.update()
|
self.update()
|
||||||
self.setTextAlignment(Qt.AlignCenter)
|
self.setTextAlignment(Qt.AlignVCenter)
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
if self.vm.qid == 0:
|
if self.vm.qid == 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user