Bigger header font on question board

This commit is contained in:
Sebastian Lohff 2015-01-05 18:25:09 +01:00
parent cf31e35d26
commit 756010094d
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ class SeopardyGame(QtGui.QWidget):
layout = QtGui.QVBoxLayout() layout = QtGui.QVBoxLayout()
headerLayout = QtGui.QHBoxLayout() headerLayout = QtGui.QHBoxLayout()
self.header = QtGui.QLabel(self.questions.get_title()) self.header = QtGui.QLabel(self.questions.get_title())
self.header.setStyleSheet("QLabel { font-size: 20px; }")
headerLayout.addWidget(self.header) headerLayout.addWidget(self.header)
headerLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize) headerLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
layout.addWidget(self.header, alignment=QtCore.Qt.AlignCenter) layout.addWidget(self.header, alignment=QtCore.Qt.AlignCenter)