discomfitor pushed a commit to branch master.

http://git.enlightenment.org/enlightenment/modules/desksanity.git/commit/?id=24d4459e61e1f0ab6772ac56a6d404b45952e395

commit 24d4459e61e1f0ab6772ac56a6d404b45952e395
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Nov 18 15:24:14 2015 -0500

    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);
 }

-- 


Reply via email to