force sizing of zoom effect tables before adding to layout

this ensures that the table gets the right size prior to setting up
any of the clients in it
This commit is contained in:
Mike Blumenkrantz 2015-11-18 15:24:14 -05:00
parent 3664906fd3
commit 24d4459e61
1 changed files with 2 additions and 1 deletions

View File

@ -541,13 +541,14 @@ zoom(Eina_List *clients, E_Zone *zone)
_zoomobj_pack_client(evas_object_data_get(m, "E_Client"), zone, tb, m, id++, cols);
}
elm_object_content_set(scr, tb);
evas_object_geometry_set(tb, zone->x, zone->y, zone->w, zone->h);
evas_object_smart_need_recalculate_set(tb, 1);
evas_object_smart_calculate(tb);
elm_layout_signal_emit(zoom_obj, "e,state,active", "e");
E_LIST_FOREACH(clients, _zoomobj_position_client);
evas_object_data_set(zoom_obj, "__DSCLIENTS", clients);
elm_object_content_set(scr, tb);
zoom_objs = eina_list_append(zoom_objs, zoom_obj);
}