Mx.ImageScaleMode.FIT – mx-2.0 Reference Manual
FIT
Description:
FIT
Scale the image, but maintain the aspect ratio so that it fits exactly within the allocation
2022 vala-language.org