Removed header string from gameboard
This commit is contained in:
parent
09466d83a8
commit
0ec7bb3a7e
6
game.py
6
game.py
|
@ -42,10 +42,10 @@ class SeopardyGame(QtGui.QWidget):
|
||||||
|
|
||||||
layout = QtGui.QVBoxLayout()
|
layout = QtGui.QVBoxLayout()
|
||||||
headerLayout = QtGui.QHBoxLayout()
|
headerLayout = QtGui.QHBoxLayout()
|
||||||
header = QtGui.QLabel("Header")
|
self.header = QtGui.QLabel("")
|
||||||
headerLayout.addWidget(header)
|
headerLayout.addWidget(self.header)
|
||||||
headerLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
|
headerLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
|
||||||
layout.addWidget(header, alignment=QtCore.Qt.AlignCenter)
|
layout.addWidget(self.header, alignment=QtCore.Qt.AlignCenter)
|
||||||
|
|
||||||
# create board
|
# create board
|
||||||
#board = QtGui.QGridLayout(6, len(self.questions.get_sections()))
|
#board = QtGui.QGridLayout(6, len(self.questions.get_sections()))
|
||||||
|
|
Loading…
Reference in New Issue