Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_button.c 


Log Message:
Revert button alignment change and fix this in the theme where it belongs.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_button.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- ewl_button.c        24 Oct 2005 01:45:05 -0000      1.16
+++ ewl_button.c        24 Oct 2005 14:31:27 -0000      1.17
@@ -82,7 +82,7 @@
        b->body = ewl_hbox_new();
        ewl_container_child_append(EWL_CONTAINER(b), b->body);
        ewl_object_alignment_set(EWL_OBJECT(b->body), EWL_FLAG_ALIGN_CENTER);
-       ewl_object_fill_policy_set(EWL_OBJECT(b->body), EWL_FLAG_FILL_NONE);
+       ewl_object_fill_policy_set(EWL_OBJECT(b->body), EWL_FLAG_FILL_VFILL);
        ewl_widget_internal_set(b->body, TRUE);
        ewl_widget_show(b->body);
 
@@ -112,10 +112,8 @@
        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_FLAG_FILL_VFILL);
                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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to