forked from enlightenment/enlightenment
always lower e_layout children upon packing
fixes issues where a new child added would appear above other child objects if the new child was meant to be stacked below other children mostly noticeable in deskmirror
This commit is contained in:
parent
59b49538b1
commit
a3c6b7ada4
|
@ -138,6 +138,7 @@ e_layout_pack(Evas_Object *obj, Evas_Object *child)
|
||||||
sd = evas_object_smart_data_get(obj);
|
sd = evas_object_smart_data_get(obj);
|
||||||
li = _e_layout_smart_adopt(sd, child);
|
li = _e_layout_smart_adopt(sd, child);
|
||||||
sd->items = eina_inlist_append(sd->items, EINA_INLIST_GET(li));
|
sd->items = eina_inlist_append(sd->items, EINA_INLIST_GET(li));
|
||||||
|
evas_object_lower(child);
|
||||||
if (sd->frozen <= 0) _e_layout_smart_move_resize_item(li);
|
if (sd->frozen <= 0) _e_layout_smart_move_resize_item(li);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue