Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_icon.c 


Log Message:

set icon to FILL_NONE
center preview also

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_icon.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- ewl_icon.c  30 Apr 2006 04:51:39 -0000      1.10
+++ ewl_icon.c  30 Apr 2006 05:20:10 -0000      1.11
@@ -48,6 +48,7 @@
        if (!ewl_box_init(EWL_BOX(icon)))
                DRETURN_INT(FALSE, DLEVEL_STABLE);
 
+       ewl_object_fill_policy_set(EWL_OBJECT(icon), EWL_FLAG_FILL_NONE);
        ewl_box_orientation_set(EWL_BOX(icon), EWL_ORIENTATION_VERTICAL);
        ewl_box_spacing_set(EWL_BOX(icon), 4);
 
@@ -122,6 +123,7 @@
        {
                icon->preview = ewl_image_new();
                ewl_image_proportional_set(EWL_IMAGE(icon->preview), TRUE);
+               ewl_object_alignment_set(EWL_OBJECT(icon->preview), 
EWL_FLAG_ALIGN_CENTER);
                ewl_widget_internal_set(icon->preview, TRUE);
                ewl_container_child_prepend(EWL_CONTAINER(icon), 
                                                icon->preview);




-------------------------------------------------------
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

Reply via email to