Bigger header font on question board
This commit is contained in:
parent
cf31e35d26
commit
756010094d
1
game.py
1
game.py
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue