summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-01-08 15:03:38 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-01-08 15:03:38 -0500
commit740dfd950954f73c0cd461d339a88bdee2bc0400 (patch)
tree407559225924f288dfba7a12179ab5863ac7c04c
parente52126c004843f865d50649a5be9e7d9f305ef92 (diff)
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
-rw-r--r--src/lib/els_box.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/els_box.c b/src/lib/els_box.c
index eec3f9593..2b3eb9e15 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
353 if (*rwy > 0.0) expand += *rwy; 353 if (*rwy > 0.0) expand += *rwy;
354 } 354 }
355 _smart_extents_calculate(o, priv, w, h, expand, horizontal, homogeneous); 355 _smart_extents_calculate(o, priv, w, h, expand, horizontal, homogeneous);
356 evas_object_geometry_get(o, &x, &y, &w, &h);
356 357
357 evas_object_size_hint_min_get(o, &minw, &minh); 358 evas_object_size_hint_min_get(o, &minw, &minh);
358 evas_object_box_align_get(o, &ax, &ay); 359 evas_object_box_align_get(o, &ax, &ay);