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:
Mike Blumenkrantz 2015-04-09 14:07:37 -04:00
parent 66da90fa0f
commit 2091ef60d8
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ e_layout_pack(Evas_Object *obj, Evas_Object *child)
sd = evas_object_smart_data_get(obj);
li = _e_layout_smart_adopt(sd, child);
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);
}