forked from enlightenment/efl
parent
8855306850
commit
b24829d701
|
@ -188,6 +188,8 @@ _elm_frame_smart_add(Evas_Object *obj)
|
||||||
elm_widget_can_focus_set(obj, EINA_FALSE);
|
elm_widget_can_focus_set(obj, EINA_FALSE);
|
||||||
|
|
||||||
elm_layout_theme_set(obj, "frame", "base", elm_widget_style_get(obj));
|
elm_layout_theme_set(obj, "frame", "base", elm_widget_style_get(obj));
|
||||||
|
|
||||||
|
elm_layout_sizing_eval(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -219,8 +221,6 @@ elm_frame_add(Evas_Object *parent)
|
||||||
if (!elm_widget_sub_object_add(parent, obj))
|
if (!elm_widget_sub_object_add(parent, obj))
|
||||||
ERR("could not add %p as sub object of %p", obj, parent);
|
ERR("could not add %p as sub object of %p", obj, parent);
|
||||||
|
|
||||||
elm_layout_sizing_eval(obj);
|
|
||||||
|
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue