forked from enlightenment/efl
parent
322b55133d
commit
b11b798344
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue