HomePhabricator

ui image: fix scale_method expand behavior.

Authored by Hermet on Dec 22 2019, 10:42 PM.

Description

ui image: fix scale_method expand behavior.

As efl_gfx_image_expand specification,
it scales the image to cover the entire object area on one axis
while maintaining the aspect ratio though image may become larger than the object.

Thus, this option must work as one of fit_width / fit_height
by detertimining either way.

Previously, it was logically wrong.

@fix

Details

Committed
HermetDec 22 2019, 10:42 PM
Parents
rEFLf349510941a8: eolian: inherit since information from struct to field
Branches
Unknown
Tags
Unknown