[gcompris] land_safe, fixed text alignement issue for gravity



commit f9444902cc814263072ec15f687c0c9ae88c1f05
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Sun Nov 18 17:16:07 2012 +0100

    land_safe, fixed text alignement issue for gravity

 src/land_safe-activity/land_safe.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/land_safe-activity/land_safe.py b/src/land_safe-activity/land_safe.py
index 5591432..daaf24c 100644
--- a/src/land_safe-activity/land_safe.py
+++ b/src/land_safe-activity/land_safe.py
@@ -77,10 +77,10 @@ class Gcompris_land_safe:
     text = _('Gravity: %s') % (gravity)
     gravity_text = goocanvas.Text(
       parent = self.rootitem,
-      x = 700,
+      x = 760,
       y = 50,
       fill_color = "white",
-      anchor = gtk.ANCHOR_CENTER,
+      anchor = gtk.ANCHOR_E,
       alignment = pango.ALIGN_CENTER,
       text = _(text))
     bounds = gravity_text.get_bounds()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]