forked from enlightenment/efl
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
This commit is contained in:
parent
d3a14d08b0
commit
b1eac4c46b
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue