[gcompris/gcomprixogoo] Little fix in bargame. Just screen layout issues.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gcompris/gcomprixogoo] Little fix in bargame. Just screen layout issues.
- Date: Sun, 3 Jan 2010 20:22:46 +0000 (UTC)
commit 1a51d15694e10225ce9b03530212e30cb042009c
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Sun Jan 3 21:20:33 2010 +0100
Little fix in bargame. Just screen layout issues.
src/bargame-activity/bargame.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/bargame-activity/bargame.py b/src/bargame-activity/bargame.py
index 17023b4..fe87ca3 100644
--- a/src/bargame-activity/bargame.py
+++ b/src/bargame-activity/bargame.py
@@ -235,7 +235,7 @@ class Gcompris_bargame:
for i in range(self.number_balls[self.gcomprisBoard.sublevel-1][1]):
self.balls.append(self.ball(self.rootitem,
i * width_ref * scale + 150,
- gcompris.BOARD_HEIGHT - 180,
+ gcompris.BOARD_HEIGHT - 200,
scale,
self.pixmap_blue_ball))
self.balls.append(self.ball(self.rootitem,
@@ -330,7 +330,8 @@ class Gcompris_bargame:
x=0,
y=0)
bounds = item.get_bounds()
- item.scale(scale, scale)
+ # Add a little zoom offset to make sure items stick well
+ item.scale(scale + 0.01, scale)
self.ombre = goocanvas.Image(
parent = self.itemgroup,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]