Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_row.c Log Message: - formatting =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_row.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -3 -r1.19 -r1.20 --- ewl_row.c 26 May 2006 18:17:19 -0000 1.19 +++ ewl_row.c 14 Aug 2006 04:24:15 -0000 1.20 @@ -164,9 +164,8 @@ * Get the first child of the header. */ align = EWL_OBJECT(ewl_container_child_next(EWL_CONTAINER(hdr))); - if (align) { + if (align) x = MAX(ewl_object_current_x_get(align), CURRENT_X(w)); - } else x = CURRENT_X(w); @@ -177,7 +176,8 @@ while ((child = EWL_OBJECT(ewl_container_child_next(c)))) { align = EWL_OBJECT(ewl_container_child_next(EWL_CONTAINER(hdr))); if (align && VISIBLE(align)) - width = ewl_object_current_x_get(align) + ewl_object_current_w_get(align) - x; + width = ewl_object_current_x_get(align) + + ewl_object_current_w_get(align) - x; else if (nodes) width = remains / nodes; else @@ -188,7 +188,7 @@ * accepted to calculate remaining steps. */ ewl_object_place(child, x, CURRENT_Y(w), width, - CURRENT_H(w)); + CURRENT_H(w)); width = ewl_object_current_w_get(child); x += width; remains -= width; ------------------------------------------------------------------------- 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