popup: fix resize issue in case of custom part text set

@fix
This commit is contained in:
Amitesh Singh 2015-08-04 21:21:32 +05:30
parent c6c4f23c04
commit 7c0246c870
1 changed files with 3 additions and 6 deletions

View File

@ -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;
}