diff --git a/game.py b/game.py index be40389..2a09bdb 100644 --- a/game.py +++ b/game.py @@ -42,10 +42,10 @@ class SeopardyGame(QtGui.QWidget): layout = QtGui.QVBoxLayout() headerLayout = QtGui.QHBoxLayout() - header = QtGui.QLabel("Header") - headerLayout.addWidget(header) + self.header = QtGui.QLabel("") + headerLayout.addWidget(self.header) headerLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize) - layout.addWidget(header, alignment=QtCore.Qt.AlignCenter) + layout.addWidget(self.header, alignment=QtCore.Qt.AlignCenter) # create board #board = QtGui.QGridLayout(6, len(self.questions.get_sections()))