Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-04-20 22:51:07 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-04-20 22:51:07 (GMT)
commit0d09fb839c8032c5aad462f06a1b936a5d5dbf7a (patch)
treeddef54f0b7bac581fc465e7a5f0d80b777cf5f6b
parent3eaf4c11cc5eb2d42f934c623541e88e2134ab8f (diff)
fix label margins
-rw-r--r--game.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/game.py b/game.py
index 642adba..6638843 100644
--- a/game.py
+++ b/game.py
@@ -115,6 +115,7 @@ class Game():
int(self._width / 2),
int(self._height / 2)))
self._smile.set_label_attributes(36)
+ self._smile.set_margins(10, 0, 10, 0)
self._frown = Sprite(self._sprites,
int(self._width / 4),
@@ -124,6 +125,7 @@ class Game():
int(self._width / 2),
int(self._height / 2)))
self._frown.set_label_attributes(36)
+ self._frown.set_margins(10, 0, 10, 0)
self._all_clear()
@@ -134,6 +136,7 @@ class Game():
int(350 * self._scale), int(100 * self._scale))
self._word_cards.append(Sprite(self._sprites, 10, 10, pixbuf))
self._word_cards[-1].set_label_attributes(36)
+ self._word_cards[-1].set_margins(10, 0, 10, 0)
self._word_cards[-1].type = 'word'
def picture_append(self, path):