Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_button.c
Log Message:
Center label alignment.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_button.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- ewl_button.c 24 Oct 2005 00:10:28 -0000 1.15
+++ ewl_button.c 24 Oct 2005 01:45:05 -0000 1.16
@@ -112,6 +112,10 @@
else if (!b->label_object) {
b->label_object = ewl_label_new();
ewl_label_text_set(EWL_LABEL(b->label_object), l);
+ ewl_object_alignment_set(EWL_OBJECT(b->label_object),
+ EWL_FLAG_ALIGN_CENTER);
+ ewl_object_fill_policy_set(EWL_OBJECT(b->label_object),
+ EWL_FLAG_FILL_NONE);
ewl_container_child_append(EWL_CONTAINER(b), b->label_object);
ewl_widget_internal_set(b->label_object, TRUE);
ewl_widget_show(b->label_object);
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs