[gcompris] louis_braille: fixes the layout to support larger language like french.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] louis_braille: fixes the layout to support larger language like french.
- Date: Sun, 2 Oct 2011 15:56:56 +0000 (UTC)
commit b9eab1a7a11ae545e675187e1a59a3b9d7cc37b0
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Sun Oct 2 17:56:26 2011 +0200
louis_braille: fixes the layout to support larger language like french.
src/louis_braille-activity/louis_braille.py | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/louis_braille-activity/louis_braille.py b/src/louis_braille-activity/louis_braille.py
index 2028b82..faf89a1 100644
--- a/src/louis_braille-activity/louis_braille.py
+++ b/src/louis_braille-activity/louis_braille.py
@@ -173,7 +173,7 @@ class Gcompris_louis_braille:
font = gcompris.skin.get_font("gcompris/title")
)
- # Rectangle for STORY
+ # Rectangle for YEAR
self.year_rect = \
goocanvas.Rect(parent=self.rootitem,
x = 40,
@@ -187,9 +187,9 @@ class Gcompris_louis_braille:
# Rectangle for STORY
goocanvas.Rect(parent=self.rootitem,
- x = 40,
+ x = 20,
y = 425,
- width = 720,
+ width = 760,
height = 85,
stroke_color = "orange",
fill_color = "white",
@@ -203,7 +203,7 @@ class Gcompris_louis_braille:
fill_color="black",
anchor = gtk.ANCHOR_CENTER,
alignment = pango.ALIGN_CENTER,
- width = 710,
+ width = 750,
font = gcompris.skin.get_font("gcompris/subtitle")
)
@@ -344,9 +344,9 @@ class Reordering:
group_item.set_data("index", self.index)
# Create Rounded Rectangles for each story
rect_box = goocanvas.Rect(parent = group_item,
- x = 100,
+ x = 30,
y = 0,
- width = 550,
+ width = 640,
height = 40,
radius_x = 5,
radius_y = 5,
@@ -358,14 +358,14 @@ class Reordering:
# Displaying the STORY
goocanvas.Text(parent = group_item,
- x = 370.0,
+ x = 350.0,
y = 20,
text = text,
fill_color = "black",
anchor = gtk.ANCHOR_CENTER,
alignment = pango.ALIGN_CENTER,
font = 'SANS 9',
- width = 500,
+ width = 635,
)
group_item.connect("button_press_event", self.component_drag)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]