[clutter-tutorial] Fixed text alignment in example and updated screenshot (#935)



commit a300a562a54d3d365cd8aad57793dc2eb587f93e
Author: Johannes Schmid <jhs gnome org>
Date:   Mon May 4 09:32:03 2009 +0200

    Fixed text alignment in example and updated screenshot (#935)
---
 COPYING                        |    2 +-
 ChangeLog                      |    9 ++++++++-
 INSTALL                        |    2 +-
 docs/tutorial/figures/text.png |  Bin 9177 -> 38923 bytes
 examples/text/main.c           |    4 ++--
 5 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/COPYING b/COPYING
index e812d5c..0b6cbf8 120000
--- a/COPYING
+++ b/COPYING
@@ -1 +1 @@
-/opt/gnome220/share/automake-1.10/COPYING
\ No newline at end of file
+/usr/share/automake-1.10/COPYING
\ No newline at end of file
diff --git a/ChangeLog b/ChangeLog
index 68e618d..fd4769c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,13 @@
 2009-05-04  Johannes Schmid <jschmid openismus com>
 
-	* configure.in
+	* examples/text/main.c:
+	* docs/tutorial/figures/text.png:
+	
+	Fixed text alignment in example and updated screenshot (#935)
+
+2009-05-04  Johannes Schmid <jschmid openismus com>
+
+	* configure.ac
 	* examples/entry/*
 	
 	Removed obsolete entry example
diff --git a/INSTALL b/INSTALL
index d231257..5bb6e7b 120000
--- a/INSTALL
+++ b/INSTALL
@@ -1 +1 @@
-/opt/gnome220/share/automake-1.10/INSTALL
\ No newline at end of file
+/usr/share/automake-1.10/INSTALL
\ No newline at end of file
diff --git a/docs/tutorial/figures/text.png b/docs/tutorial/figures/text.png
index 69394bb..18c4aaf 100644
Binary files a/docs/tutorial/figures/text.png and b/docs/tutorial/figures/text.png differ
diff --git a/examples/text/main.c b/examples/text/main.c
index 23ab662..ef08f81 100644
--- a/examples/text/main.c
+++ b/examples/text/main.c
@@ -64,8 +64,8 @@ int main(int argc, char *argv[])
 	clutter_text_set_editable (CLUTTER_TEXT (text), TRUE);
 	clutter_text_set_line_wrap (CLUTTER_TEXT (text), TRUE);
 
-  //clutter_actor_set_size (text, 590, 100);
-  clutter_actor_set_position (text, 5, 30);
+  clutter_actor_set_size (text, 590, 100);
+	clutter_actor_set_position (text, 5, 50);
 	clutter_container_add_actor (CLUTTER_CONTAINER (stage), text);
   clutter_actor_show (text);
 



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