Efl.Ui.Popup.Alert: add message signal process function for scroller size calculation
authorTaehyub Kim <taehyub.kim@samsung.com>
Mon, 11 Dec 2017 07:07:18 +0000 (16:07 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Mon, 11 Dec 2017 07:12:15 +0000 (16:12 +0900)
Summary:
add message signal process function for scroller size calculation
@fix

Reviewers: Jaehyun_Cho, jpeg, thiepha, cedric, woohyun, Blackmole

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D5618

src/lib/elementary/efl_ui_popup_alert.c

index bf659db..ea5fbed 100644 (file)
@@ -100,6 +100,7 @@ _efl_ui_popup_alert_button_set(Eo *obj, Efl_Ui_Popup_Alert_Data *pd, Efl_Ui_Popu
 {
    int i;
    Eo *cur_content;
+   ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
 
    if ((type < EFL_UI_POPUP_ALERT_BUTTON_POSITIVE) || (type > EFL_UI_POPUP_ALERT_BUTTON_USER))
      {
@@ -168,6 +169,7 @@ _efl_ui_popup_alert_button_set(Eo *obj, Efl_Ui_Popup_Alert_Data *pd, Efl_Ui_Popu
      }
 
    elm_layout_signal_emit(obj, "elm,buttons,show", "elm");
+   edje_object_message_signal_process(wd->resize_obj);
    elm_layout_sizing_eval(obj);
 }