* TODO
*
* Update the minimun height of the bar in the theme. No minimun should be set in the vertical theme
- * Add horyzontal theme
* Add events (move, start ...)
*/
EAPI Evas_Object *elm_panes_add(Evas_Object *parent);
static void
_changed_size_hints(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
- _sizing_eval(data);
+ _calc(data);
}
static void
Widget_Data *wd = elm_widget_data_get(obj);
Evas_Object *sub = event_info;
if (!wd) return;
+
if (sub == wd->content)
{
evas_object_event_callback_del_full(sub, EVAS_CALLBACK_CHANGED_SIZE_HINTS,
if (wd->content == content) return;
if (wd->content) evas_object_del(wd->content);
wd->content = content;
+
if (content)
{
elm_widget_sub_object_add(obj, content);