Question looks bad with alignment set

This commit is contained in:
Sebastian Lohff 2013-11-07 01:20:47 +01:00
parent 9d1cae38b5
commit 0692dc897d
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class QuestionWindow(QtGui.QDialog):
else:
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.setLayout(self.layout)