Permalink
Browse files

Fix tabletop size, and rename.

  • Loading branch information...
1 parent 37ce1ce commit f16b9bbf28d3092a5b814f12d181087f1adb47b2 @KenMacD KenMacD committed Sep 8, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 client/qt/src/tarabish/qt/table.py
@@ -34,14 +34,14 @@ def _send_message(self):
self.messages.append(self.message_box.text())
self.message_box.clear()
-class TableTop(QWidget):
+class TableTopWidget(QWidget):
MARGIN = 6
def __init__(self, parent=None):
- super(TableTop, self).__init__(parent)
+ super(TableTopWidget, self).__init__(parent)
- self.width = CARD_WIDTH * 2 + CARD_HEIGHT * 2 + self.MARGIN * 2
- self.height = self.width
+ self.width = CARD_WIDTH * 3 + self.MARGIN * 2
+ self.height = CARD_HEIGHT * 3 + self.MARGIN * 2
self.setFixedSize(self.width, self.height)
self.north_position = QPoint(CARD_WIDTH + self.MARGIN, 0)
@@ -153,7 +153,7 @@ def __init__(self, tableId, eventSignal, logger, parent=None):
vbox = QVBoxLayout()
- table_top = TableTop()
+ table_top = TableTopWidget()
vbox.addWidget(table_top)
testButton = QPushButton("Create cards")

0 comments on commit f16b9bb

Please sign in to comment.