I have a ui.ImageView with content_mode = ui.CONTENT_SCALE_ASPECT_FILL. The documentation implies that using this content mode will crop the parts of the image that fall outside the bounds of the ImageView.
ui.CONTENT_SCALE_ASPECT_FILL
Scale the content to fill the size of the view. Some portion of the content may be clipped to fill the view’s bounds.
However, the excess image simply overflows outside the bounds of the View, spilling over other elements, making me sad.
Two questions:
1) Is this a bug? Or is this the expected functionality of ui.CONTENT_SCALE_ASPECT_FILL?
2) If this is indeed the intended behavior, how do you crop a ui.Image simply?
Regarding question 2, I've gotten cropping to work using the PIL.Image.crop(), and converting that cropped PIL.Image into a ui.Image, but this is expensive, and I need these images to be loaded quickly in real-time.

