Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_button.c 


Log Message:
Better image alignment on buttons.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_button.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- ewl_button.c        6 Sep 2006 15:16:11 -0000       1.37
+++ ewl_button.c        8 Sep 2006 02:44:45 -0000       1.38
@@ -243,6 +243,10 @@
                b->image_object = ewl_image_new();
                ewl_container_child_prepend(EWL_CONTAINER(b), b->image_object);
                ewl_widget_internal_set(b->image_object, TRUE);
+               ewl_object_fill_policy_set(EWL_OBJECT(b->image_object),
+                                          EWL_FLAG_FILL_NONE);
+               ewl_object_alignment_set(EWL_OBJECT(b->image_object),
+                                        EWL_FLAG_ALIGN_CENTER);
                ewl_widget_show(b->image_object);
 
                ewl_container_redirect_set(EWL_CONTAINER(b), redir);



-------------------------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to