From: urandom Date: Sat, 28 Feb 2009 18:06:37 +0000 (+0000) Subject: it actually makes sense to have them overlap on justify, so go back X-Git-Tag: 2.0_alpha~240^2~2575 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b96434a7e796b0fd18b22ed59d313f3bfd7297d;p=framework%2Fuifw%2Fevas.git it actually makes sense to have them overlap on justify, so go back git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39293 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/canvas/evas_object_box.c b/src/lib/canvas/evas_object_box.c index 939eb8e..9548ea1 100644 --- a/src/lib/canvas/evas_object_box.c +++ b/src/lib/canvas/evas_object_box.c @@ -788,7 +788,7 @@ evas_object_box_layout_horizontal(Evas_Object *o, Evas_Object_Box_Data *priv, vo x += remaining * priv->align.h; else if (n_children == 1) x += remaining / 2; - else if (remaining > 0) + else { /* justified */ _fixed_point_divide_and_decompose_integer (remaining, n_children - 1, &global_pad, &pad_inc); @@ -951,7 +951,7 @@ evas_object_box_layout_vertical(Evas_Object *o, Evas_Object_Box_Data *priv, void y += remaining * priv->align.v; else if (n_children == 1) y += remaining / 2; - else if (remaining > 0) + else { /* justified */ _fixed_point_divide_and_decompose_integer (remaining, n_children - 1, &global_pad, &pad_inc);