Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/grid.py
diff options
context:
space:
mode:
Diffstat (limited to 'grid.py')
-rw-r--r--grid.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/grid.py b/grid.py
index 848cf7d..98ee140 100644
--- a/grid.py
+++ b/grid.py
@@ -14,7 +14,7 @@ from gi.repository import GObject
import random
-from constants import ROW, COL, MATCH_POSITION, DEAL
+from constants import ROW, COL, MATCH_POSITION, DEAL, LABELH
import logging
_logger = logging.getLogger('dimensions-activity')
@@ -43,7 +43,7 @@ class Grid:
self.left = int((width - (card_width * 2)) / 2)
self.portrait = False
self.xinc = int(card_width * 1.2)
- self.top = 10
+ self.top = int(LABELH * 1.25)
self.yinc = int(card_height * 1.33)
self.bottom = int(self.top + 5 * self.yinc)
self.dx = [0, 0, 0, 0, 0, 0]