hermet pushed a commit to branch master.


commit 710a927441834128d7c3fbec0bf24e0c0075e26e
Author: Jee-Yong Um <jc9...@samsung.com>
Date:   Fri Aug 28 15:56:34 2015 +0900

    elm_hover: Set min size hint for size and offset spacer before moving or 
resizing hover
    Size or offset spacer make hover be able to move its swallows to right 
    In elm_layout_sizing_eval() for hover, moving and resizing spacers are done
    after moving and resizing hover.
    It causes in hover's move or resize callback, geometry can not be got 
    Reviewers: SanghyeonLee, Hermet
    Reviewed By: Hermet
    Differential Revision: https://phab.enlightenment.org/D2999
 src/lib/elm_hover.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elm_hover.c b/src/lib/elm_hover.c
index c55905e..9306c78 100644
--- a/src/lib/elm_hover.c
+++ b/src/lib/elm_hover.c
@@ -327,10 +327,10 @@ _elm_hover_elm_layout_sizing_eval(Eo *obj, Elm_Hover_Data 
    else ofs_x = x2 - x;
-   evas_object_move(wd->resize_obj, x, y);
-   evas_object_resize(wd->resize_obj, w, h);
    evas_object_size_hint_min_set(sd->offset, ofs_x, y2 - y);
    evas_object_size_hint_min_set(sd->size, w2, h2);
+   evas_object_move(wd->resize_obj, x, y);
+   evas_object_resize(wd->resize_obj, w, h);
 static void


Reply via email to