{
elm_widget_sub_object_add(content, obj);
evas_object_smart_member_add(content, obj);
- evas_object_event_callback_add(content, EVAS_CALLBACK_CHANGED_SIZE_HINTS,
+ evas_object_clip_set(content, evas_object_clip_get(obj));
+ evas_object_event_callback_add(content,
+ EVAS_CALLBACK_CHANGED_SIZE_HINTS,
_changed_size_hints, obj);
}
_sizing_eval(obj);
content = wd->content;
elm_widget_sub_object_del(obj, wd->content);
evas_object_smart_member_del(wd->content);
+ evas_object_clip_unset(wd->content);
wd->content = NULL;
return content;
}