From: Taehyub Kim Date: Thu, 31 Aug 2017 04:17:56 +0000 (+0900) Subject: efl_ui_popup: cover the corner case of popup sizing evaluation X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~1496 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b1eac4c46ba00528ae28a8b41c490dff95c66140;p=platform%2Fupstream%2Fefl.git efl_ui_popup: cover the corner case of popup sizing evaluation Summary: cover the corner case of popup sizing evaluation Test Plan: 1. run elementary_test -to efluipopup Reviewers: Jaehyun_Cho, jpeg, thiepha, Blackmole, woohyun, cedric Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5146 --- diff --git a/src/lib/elementary/efl_ui_popup.c b/src/lib/elementary/efl_ui_popup.c index 1f40576..7de893e 100644 --- a/src/lib/elementary/efl_ui_popup.c +++ b/src/lib/elementary/efl_ui_popup.c @@ -191,7 +191,7 @@ _efl_ui_popup_elm_layout_sizing_eval(Eo *obj, Efl_Ui_Popup_Data *pd EINA_UNUSED) evas_object_resize(obj, minw, h); else if ((minw < w) && (minh > h)) evas_object_resize(obj, w, minh); - else if ((minw > w) && (minh > h)) + else if ((minw >= w) && (minh >= h)) evas_object_resize(obj, minw, minh); }