forked from enlightenment/efl
parent
7f8d2e218e
commit
8827185824
|
@ -120,6 +120,9 @@ _sizing_eval(Evas_Object *obj)
|
|||
|
||||
ELM_BOX_DATA_GET(obj, sd);
|
||||
|
||||
if (sd->on_deletion)
|
||||
return;
|
||||
|
||||
evas_object_size_hint_min_get
|
||||
(ELM_WIDGET_DATA(sd)->resize_obj, &minw, &minh);
|
||||
evas_object_size_hint_max_get
|
||||
|
@ -390,6 +393,8 @@ _elm_box_smart_del(Evas_Object *obj)
|
|||
|
||||
ELM_BOX_DATA_GET(obj, sd);
|
||||
|
||||
sd->on_deletion = EINA_TRUE;
|
||||
|
||||
evas_object_event_callback_del_full
|
||||
(ELM_WIDGET_DATA(sd)->resize_obj, EVAS_CALLBACK_CHANGED_SIZE_HINTS,
|
||||
_on_size_hints_changed, obj);
|
||||
|
|
|
@ -122,8 +122,9 @@ struct _Elm_Box_Smart_Data
|
|||
* first member obligatory, as
|
||||
* we're inheriting from it */
|
||||
|
||||
Eina_Bool horizontal : 1;
|
||||
Eina_Bool homogeneous : 1;
|
||||
Eina_Bool on_deletion : 1;
|
||||
Eina_Bool horizontal : 1;
|
||||
Eina_Bool recalc : 1;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue