Enlightenment CVS committal
Author : ningerso
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin
Modified Files:
ewl_simple_test.c
Log Message:
Improve text layout and increase font size.
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/ewl_simple_test.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ewl_simple_test.c 9 Feb 2007 08:38:51 -0000 1.17
+++ ewl_simple_test.c 9 Feb 2007 12:12:19 -0000 1.18
@@ -44,7 +44,7 @@
ewl_text_align_set(EWL_TEXT(label), EWL_FLAG_ALIGN_LEFT);
ewl_text_styles_set(EWL_TEXT(label), EWL_TEXT_STYLE_NONE);
ewl_text_font_set(EWL_TEXT(label), "ewl/default");
- ewl_text_font_size_set(EWL_TEXT(label), 7);
+ ewl_text_font_size_set(EWL_TEXT(label), 9);
ewl_text_text_append(EWL_TEXT(label), text);
FREE(buf);
@@ -57,7 +57,6 @@
Ewl_Widget *label = user_data;
ewl_object_alignment_set(EWL_OBJECT(label), EWL_FLAG_ALIGN_CENTER);
- ewl_text_align_set(EWL_TEXT(label), EWL_FLAG_ALIGN_CENTER);
ewl_text_font_set(EWL_TEXT(label), "ewl/default");
ewl_text_font_size_set(EWL_TEXT(label), 12);
ewl_text_styles_set(EWL_TEXT(label), EWL_TEXT_STYLE_SOFT_SHADOW);
@@ -145,6 +144,7 @@
*/
label = ewl_text_new();
ewl_text_text_set(EWL_TEXT(label), NULL);
+ ewl_object_fill_policy_set(EWL_OBJECT(label), EWL_FLAG_FILL_VFILL);
/*
* Setup the custom logo which becomes the tour display area.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs