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