[gcompris/gcomprixogoo] Now the text dialog is centered in the height.



commit 163abba222661cf8a610b1e61b051a6fb70916f1
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Sat Feb 6 11:50:01 2010 +0100

    Now the text dialog is centered in the height.

 src/gcompris/dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcompris/dialog.c b/src/gcompris/dialog.c
index 2a059e9..ae75795 100644
--- a/src/gcompris/dialog.c
+++ b/src/gcompris/dialog.c
@@ -88,7 +88,7 @@ void gc_dialog(gchar *str, DialogBoxCallBack dbcb)
   goo_canvas_text_new (rootDialogItem,
 		       str,
 		       BOARDWIDTH / 2,
-		       (bounds.y2 - bounds.y1)/2 - 100,
+		       (bounds.y2 - bounds.y1) / 2,
 		       BOARDWIDTH / 2,
 		       GTK_ANCHOR_CENTER,
 		       "alignment", PANGO_ALIGN_CENTER,



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