hermet pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=991ca66681b16db05ba1dbfeff322d2bcc9d93b6
commit 991ca66681b16db05ba1dbfeff322d2bcc9d93b6 Author: Hermet Park <hermetp...@gmail.com> Date: Thu Jan 2 14:14:47 2020 +0900 ui_image: fix wrong scale_method expand behavior. Previous fix 46ee203331d596ac3aa1ec48b729be42c084088a is not perfect at some cases, its condition should be this. --- src/lib/elementary/efl_ui_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_image.c b/src/lib/elementary/efl_ui_image.c index 2d9ce304fe..1f6ba219d1 100644 --- a/src/lib/elementary/efl_ui_image.c +++ b/src/lib/elementary/efl_ui_image.c @@ -230,7 +230,7 @@ _image_sizing_eval(Eo *obj, Efl_Ui_Image_Data *sd, Evas_Object *img) w = ((double)iw * h) / (double)ih; break; case EFL_GFX_IMAGE_SCALE_METHOD_EXPAND: - if (iw < ih) + if ((iw - ow) < (ih - oh)) { w = ow; h = ((double)ih * w) / (double)iw; --