From 24d4459e61e1f0ab6772ac56a6d404b45952e395 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 18 Nov 2015 15:24:14 -0500 Subject: [PATCH] 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 --- src/zoom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/zoom.c b/src/zoom.c index 350fd8f..bb7970d 100644 --- a/src/zoom.c +++ b/src/zoom.c @@ -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); }