Images can be configured with an Image Mode which determines how the image is cropped/stretched to fit the Widget container
In Default mode, the image is simply centered and cropped, but not resized.
In Fill mode, the image is stretched to fit the container.
In Uniform mode, the image is resized to fit the container without being stretched or cropped. The container is not filled completely.
This is useful to make sure the full image is always visible without being stretched.
If you use a transparent image on the image, the margins will not be visible.
Uniform to fill
In Uniform to fill mode, the image is resized and cropped to fill the container without being stretched.