jpeg pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=3df7b717c932adac481aa0ec527d4d5893b07bb8
commit 3df7b717c932adac481aa0ec527d4d5893b07bb8 Author: Jean-Philippe Andre <[email protected]> Date: Mon Nov 21 19:52:23 2016 +0900 evas/box: Add support for align with stacked boxes @feature --- src/lib/evas/canvas/evas_object_box.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/evas/canvas/evas_object_box.c b/src/lib/evas/canvas/evas_object_box.c index 085ee12..f9952cd 100644 --- a/src/lib/evas/canvas/evas_object_box.c +++ b/src/lib/evas/canvas/evas_object_box.c @@ -1632,6 +1632,11 @@ _evas_box_layout_stack(Eo *o, Evas_Object_Box_Data *priv, Evas_Object_Box_Data * if ((new_w != child_w) || (new_h != child_h)) evas_object_resize(child, new_w, new_h); + + if (priv->align.h >= 0.0) + off_x += (ow - new_w) * priv->align.h; + if (priv->align.v >= 0.0) + off_y += (oh - new_h) * priv->align.v; evas_object_move(child, ox + off_x, oy + off_y); if (old_child) --
