Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_row.c 


Log Message:
Fix column alignment and sizing.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_row.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_row.c   16 Feb 2005 04:23:41 -0000      1.2
+++ ewl_row.c   5 Mar 2005 22:48:03 -0000       1.3
@@ -147,7 +147,7 @@
                align = ecore_list_goto_first(EWL_CONTAINER(hdr)->children);
 
                if (align) {
-                       x = MAX(CURRENT_X(align), CURRENT_X(w));
+                       x = MAX(ewl_object_current_x_get(align), CURRENT_X(w));
                }
                else
                        x = CURRENT_X(w);
@@ -155,7 +155,7 @@
                while ((child = ecore_list_next(c->children))) {
                        align = ecore_list_next(EWL_CONTAINER(hdr)->children);
                        if (align)
-                               width = CURRENT_X(align) + CURRENT_W(align) - x;
+                               width = ewl_object_current_x_get(align) + 
ewl_object_current_w_get(align) - x;
                        else
                                width = CURRENT_W(w) /
                                        ecore_list_nodes(c->children);




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to