Question looks bad with alignment set
This commit is contained in:
parent
9d1cae38b5
commit
0692dc897d
|
@ -44,7 +44,7 @@ class QuestionWindow(QtGui.QDialog):
|
||||||
else:
|
else:
|
||||||
raise ValueError("%s is an unknown type for section %s question name %s" % (self.question["Type"], self.section, self.question["Name"]))
|
raise ValueError("%s is an unknown type for section %s question name %s" % (self.question["Type"], self.section, self.question["Name"]))
|
||||||
|
|
||||||
self.layout.addWidget(qlabel, alignment=QtCore.Qt.AlignCenter)
|
self.layout.addWidget(qlabel)
|
||||||
self.layout.addStretch()
|
self.layout.addStretch()
|
||||||
|
|
||||||
self.setLayout(self.layout)
|
self.setLayout(self.layout)
|
||||||
|
|
Loading…
Reference in New Issue