hermet pushed a commit to branch master.


commit 4c35ee470ea3bd17b21d608d715733a0619bb95c
Author: Thiep Ha <thie...@gmail.com>
Date:   Tue May 19 21:13:55 2015 +0900

    entry: update selection handlers when entry is resized
    When entry is resized, selection handlers are not updated,
    it causes selection handlers to be placed in wrong position.
    This patch fixes it.
    Reviewers: woohyun, seoz, herdsman, Hermet
    Reviewed By: Hermet
    Differential Revision: https://phab.enlightenment.org/D2487
 src/lib/elm_entry.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index c39b212..23ce545 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -3647,7 +3647,8 @@ _elm_entry_evas_object_smart_resize(Eo *obj, 
Elm_Entry_Data *sd, Evas_Coord w, E
    eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
    evas_object_resize(sd->hit_rect, w, h);
+   if (sd->have_selection)
+     _update_selection_handler(obj);
 EOLIAN static void


Reply via email to