From: Amitesh Singh Date: Tue, 4 Aug 2015 15:51:32 +0000 (+0530) Subject: popup: fix resize issue in case of custom part text set X-Git-Tag: v1.16.0-alpha1~266 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ceec9e8ccdd9aa481a48f313a9e64f0362db4993;p=platform%2Fupstream%2Felementary.git popup: fix resize issue in case of custom part text set @fix --- 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; }