efl_ui_popup: add _calc_align function in sizing eval function
authorTaehyub Kim <taehyub.kim@samsung.com>
Thu, 26 Oct 2017 07:33:31 +0000 (16:33 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 28 Nov 2017 08:15:42 +0000 (17:15 +0900)
Summary: add _calc_align function in sizing eval function to show popup correctly.

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

Reviewed By: Jaehyun_Cho

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

src/lib/elementary/efl_ui_popup.c

index c8f4b56..7946881 100644 (file)
@@ -245,6 +245,8 @@ _efl_ui_popup_elm_layout_sizing_eval(Eo *obj, Efl_Ui_Popup_Data *pd EINA_UNUSED)
    new_size.w = (minw > size.w ? minw : size.w);
    new_size.h = (minh > size.h ? minh : size.h);
    efl_gfx_size_set(obj, new_size);
+
+   _calc_align(obj);
 }
 
 EOLIAN static void