it actually makes sense to have them overlap on justify, so go back

SVN revision: 39293
This commit is contained in:
Viktor Kojouharov 2009-02-28 18:06:37 +00:00
parent fee3b366bf
commit 1b197b9542
1 changed files with 2 additions and 2 deletions

View File

@ -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);