ami pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=ceec9e8ccdd9aa481a48f313a9e64f0362db4993

commit ceec9e8ccdd9aa481a48f313a9e64f0362db4993
Author: Amitesh Singh <amitesh...@samsung.com>
Date:   Tue Aug 4 21:21:32 2015 +0530

    popup: fix resize issue in case of custom part text set
    
    @fix
---
 src/lib/elc_popup.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c
index 5dbd1ba..90488d1 100644
--- a/src/lib/elc_popup.c
+++ b/src/lib/elc_popup.c
@@ -862,9 +862,6 @@ _title_text_set(Evas_Object *obj,
    if (title_visibility_old != title_visibility_current)
      _visuals_set(obj);
 
-   _scroller_size_calc(obj);
-   elm_layout_sizing_eval(obj);
-
    return EINA_TRUE;
 }
 
@@ -926,9 +923,6 @@ _content_text_set(Evas_Object *obj,
      }
 
 end:
-   _scroller_size_calc(obj);
-   elm_layout_sizing_eval(obj);
-
    return EINA_TRUE;
 }
 
@@ -944,6 +938,9 @@ _elm_popup_elm_layout_text_set(Eo *obj, Elm_Popup_Data 
*_pd, const char *part, c
    else
      int_ret = elm_layout_text_set(_pd->main_layout, part, label);
 
+   _scroller_size_calc(obj);
+   elm_layout_sizing_eval(obj);
+
    return int_ret;
 }
 

-- 


Reply via email to