dont set padding of 1000 pls. :)

SVN revision: 59700
This commit is contained in:
Carsten Haitzler 2011-05-26 09:27:30 +00:00
parent 322b55133d
commit b11b798344
2 changed files with 1 additions and 3 deletions

View File

@ -23,8 +23,6 @@ test_box_vert(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_show(bx);
elm_box_padding_set(bx, 1000, 1000);
ic = elm_icon_add(win);
snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
elm_icon_file_set(ic, buf, NULL);

View File

@ -46,7 +46,7 @@ _smart_extents_calculate(Evas_Object *box, Evas_Object_Box_Data *priv, int horiz
if (c > 0)
{
if (horizontal) minw += priv->pad.h * c;
else minh += priv->pad.v * c;
else minh += priv->pad.v * c;
}
evas_object_size_hint_min_set(box, minw, minh);
}