forked from enlightenment/efl
Elm Image: The introduction of elm_image_scale_type broke elm. Make TYPE_FILL the default.
The default scale type should not be none as this breaks elm icon and elm image as it doesn't follow the default view of elm image before elm image scale was added. The default behavior is fill so this commit makes fill the default.
This commit is contained in:
parent
860b821f00
commit
c21c821f3a
|
@ -6,19 +6,22 @@ enum Elm.Image.Scale_Type
|
||||||
|
|
||||||
@since 1.18
|
@since 1.18
|
||||||
]]
|
]]
|
||||||
none, [[Not scale the internal image]]
|
fill, [[Scale the internal image so that it matches
|
||||||
fill, [[Scale the internal image so that it matches the object's area exactly.
|
the object's area exactly.
|
||||||
The image's aspect ratio might be changed.]]
|
The image's aspect ratio might be changed.]]
|
||||||
fit_inside, [[Scale the internal image
|
fit_inside, [[Scale the internal image
|
||||||
so that it fits inside the object's area
|
so that it fits inside the object's area
|
||||||
while maintaining the aspect ratio.
|
while maintaining the aspect ratio.
|
||||||
At least one of the dimensions of the image
|
At least one of the dimensions of the image
|
||||||
should be equal to the corresponding dimension of the object.]]
|
should be equal to the corresponding dimension
|
||||||
fit_outside [[Scale the internal image
|
of the object.]]
|
||||||
|
fit_outside, [[Scale the internal image
|
||||||
so that it covers the entire object area
|
so that it covers the entire object area
|
||||||
while maintaining the aspect ratio.
|
while maintaining the aspect ratio.
|
||||||
At least one of the dimensions of the image
|
At least one of the dimensions of the image
|
||||||
should be equal to the corresponding dimension of the object.]]
|
should be equal to the corresponding
|
||||||
|
dimension of the object.]]
|
||||||
|
none [[Not scale the internal image]]
|
||||||
}
|
}
|
||||||
|
|
||||||
struct Elm.Image.Progress
|
struct Elm.Image.Progress
|
||||||
|
|
Loading…
Reference in New Issue