How do I mimic the behavior of Maya’s image preview pane in the file browser where it scales images to fit nicely in the preview pane?
I need to take an image of any size and scale it fit within the image’s parent layout. The layout I’m using is a formLayout, should I be using something else?