efl/src/lib
Shinwoo Kim d4e6303d9e efl_ui_image: keep efl_ui_image size for internal image
Summary:
The size of internal image could be bigger than the size of efl_ui_image
with following code.

   image = elm_image_add
   elm_image_fill_outside_set(image, EINA_TRUE);

If the internal image object is 300x300, and efl_ui_image is 360x77, then
the internal image object will resize to 360x360 which is bigger than the
size of efl_ui_image.

This is a compatibility issue. This patch will make efl_ui_image work as
before commit 8cb6c3e Elm_image: implement 'scale_type' and 'scalable'...

Test Plan:
This is old example to reproduce the problem.
{F3859361}

This is newly added example to check if this patch breaks compatibility or not.
{F3859390}

You can use the example with following image.
{F3859391}

This is result before applying this patch.
{F3859388}

This is result after applying this patch.
{F3859389}

The translucent rectangle is the size of the efl_ui_image.
As you might be noticed, only FIT_WIDTH (the 4th one of each row),
and EXPAND (the 6th one of each row) are different.

One more difference the 1st one of 2nd row; NONE.

F.Y.I. and for quick understanding of example.
The 1st row efl_ui_image is bigger than internal image.
The 2nd row efl_ui_image is smaller than internal image.
From the left the scale type is NONE, FILL, FIT, FIT_WIDTH,
FIT_HEIGHT, EXPAND, and TILE.

Reviewers: Hermet, jsuya, herb

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11587
2020-03-25 19:12:30 +09:00
..
ecore doxygen docs: Fix warnings in Ecore_Evas.h 2020-03-24 13:43:37 +01:00
ecore_audio eolian: rename event_prefix to event_c_prefix for consistency 2019-09-26 16:47:22 +02:00
ecore_avahi
ecore_buffer doxygen docs: Remove invalid comments 2020-03-09 13:03:54 +01:00
ecore_cocoa ecore_cocoa: fix wrong word in documentation 2020-03-17 10:29:51 +01:00
ecore_con doxygen: fix missing end group tag 2020-02-28 11:44:19 +01:00
ecore_drm
ecore_drm2 ecore-drm2: Fix issue of shifting 1 by more than 32bits 2019-11-14 12:21:40 -05:00
ecore_evas doxygen docs: Fix warnings in Ecore_Evas.h 2020-03-24 13:43:37 +01:00
ecore_fb
ecore_file esacpe: remove library from tree 2019-12-04 12:21:24 -08:00
ecore_imf doxygen: fix duplicated intro sections 2020-02-28 11:44:19 +01:00
ecore_imf_evas
ecore_input
ecore_input_evas ecore_input_evas: fix memory leak when ecore_event_evas is shutdown. 2020-03-17 10:29:48 +01:00
ecore_ipc
ecore_sdl
ecore_wayland doxygen docs: Fix tons of invalid Doxygen commands 2020-03-10 21:36:34 +01:00
ecore_win32 port cnp on Windows 2020-03-08 11:01:15 +01:00
ecore_wl2 doxygen docs: Fix warnings in Ecore_Wl2.h and associates 2020-03-24 13:43:37 +01:00
ecore_x ecore_x_selection: do not skip any any atoms 2020-03-08 10:59:31 +01:00
ector ector: fix pointer checking 2020-03-23 11:22:09 +01:00
edje doxygen docs: Fix warnings in Edje_Edit.h 2020-03-24 13:43:37 +01:00
eet doxygen: fix duplicated toc sections 2020-02-28 11:44:19 +01:00
eeze doxygen docs: Fix tons of invalid Doxygen commands 2020-03-10 21:36:34 +01:00
efl efl/player: add doc note about default values for new (1.24) properties 2020-03-20 15:57:58 +01:00
efl_canvas_wl efl/wl: explicitly use restricted size hints for min/max 2020-03-23 20:02:56 +01:00
efl_mono efl_mono: Create insert list/array c# wrapper for eina_value. 2020-02-13 15:26:50 -03:00
efreet doxygen: fix duplicated toc sections 2020-02-28 11:44:19 +01:00
eina doxygen docs: Fix Eina Promises doc structure and links 2020-03-17 19:23:56 +01:00
eio doxygen docs: Fix tons of invalid Doxygen commands 2020-03-10 21:36:34 +01:00
eldbus doxygen: fix duplicated toc sections 2020-02-28 11:44:19 +01:00
elementary efl_ui_image: keep efl_ui_image size for internal image 2020-03-25 19:12:30 +09:00
elput doxygen: fix missing titles in addgroup 2020-02-28 11:44:19 +01:00
elua doxygen: fix missing end group tag 2020-02-28 11:44:19 +01:00
embryo doxygen docs: Fix several group problems 2020-03-03 18:49:20 +01:00
emile doxygen: fix missing endcond tag 2020-02-28 12:05:26 +01:00
emotion doxygen docs: fix multiple defined @section's 2020-03-03 18:49:20 +01:00
eo eo: free vtable when erroring out 2020-03-24 20:41:37 +01:00
eolian doxygen: fix invalid eolian_main_intro ref 2020-02-28 11:44:19 +01:00
eolian_cxx C#: Add error checking for Eina.Success_Flag return type 2020-02-18 17:53:19 -03:00
ephysics doxygen: fix duplicated toc sections 2020-02-28 11:44:19 +01:00
ethumb doxygen: fix duplicated toc sections 2020-02-28 11:44:19 +01:00
ethumb_client
evas evas: add function for norendering with updates 2020-03-24 13:22:12 -04:00
evil doxygen docs: Fix tons of invalid Doxygen commands 2020-03-10 21:36:34 +01:00
.gitignore