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
This commit is contained in:
Mike Blumenkrantz 2016-01-08 15:03:38 -05:00
parent 05950e093c
commit a2634dfc0f
1 changed files with 1 additions and 0 deletions

View File

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