[gcompris/gcomprixogoo] Now the text dialog is centered in the height.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gcompris/gcomprixogoo] Now the text dialog is centered in the height.
- Date: Sat, 6 Feb 2010 16:58:24 +0000 (UTC)
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]