From 1b197b95422662400a981d99464f20e5b8b21b72 Mon Sep 17 00:00:00 2001 From: Viktor Kojouharov Date: Sat, 28 Feb 2009 18:06:37 +0000 Subject: [PATCH] it actually makes sense to have them overlap on justify, so go back SVN revision: 39293 --- legacy/evas/src/lib/canvas/evas_object_box.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/evas/src/lib/canvas/evas_object_box.c b/legacy/evas/src/lib/canvas/evas_object_box.c index 939eb8e73c..9548ea19bf 100644 --- a/legacy/evas/src/lib/canvas/evas_object_box.c +++ b/legacy/evas/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);