discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=740dfd950954f73c0cd461d339a88bdee2bc0400

commit 740dfd950954f73c0cd461d339a88bdee2bc0400
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Jan 8 15:03:38 2016 -0500

    box: update evas box geometry during layout after smart extents calc
    
    smart extents may trigger a recalc during size hint setting, resulting
    in the box being moved/resized during layout
---
 src/lib/els_box.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/els_box.c b/src/lib/els_box.c
index eec3f95..2b3eb9e 100644
--- a/src/lib/els_box.c
+++ b/src/lib/els_box.c
@@ -353,6 +353,7 @@ _els_box_layout(Evas_Object *o, Evas_Object_Box_Data *priv, 
Eina_Bool horizontal
         if (*rwy > 0.0) expand += *rwy;
      }
    _smart_extents_calculate(o, priv, w, h, expand, horizontal, homogeneous);
+   evas_object_geometry_get(o, &x, &y, &w, &h);
 
    evas_object_size_hint_min_get(o, &minw, &minh);
    evas_object_box_align_get(o, &ax, &ay);

-- 


Reply via email to