[gcompris] set a smaller font to accomodate long translations.



commit 5cdeba54a1e3b21dc02a9afed1982de2d53cc86a
Author: Bruno Coudoin <bcoudoin rcsmobility com>
Date:   Mon Apr 1 02:04:53 2013 +0200

    set a smaller font to accomodate long translations.

 src/explore-activity/explore.py |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/explore-activity/explore.py b/src/explore-activity/explore.py
index 15f1e46..c5d560a 100644
--- a/src/explore-activity/explore.py
+++ b/src/explore-activity/explore.py
@@ -306,15 +306,15 @@ dialogue to\nenable the sound."), None)
             text = _(self.data.get(sectionNum, '_text'))
             t = goocanvas.Text(
               parent=self.location_rootitem,
-              x=120,
-              y=190,
-              width=180,
+              x=170,
+              y=120,
+              width=240,
               text=_(text),
+              font = gcompris.skin.get_font("gcompris/board/medium"),
               fill_color="black",
-              anchor=gtk.ANCHOR_CENTER,
+              anchor=gtk.ANCHOR_N,
               alignment=pango.ALIGN_CENTER
               )
-            t.scale(1.4, 1.4)
             image = self.data.get(sectionNum, 'image')
             goocanvas.Image(
                 parent=self.location_rootitem,


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