How to stretch a picturebox to a window while maintaining an aspect ratio?
I'm writing a script that will generate a GUI for displaying images, using a rowstate handler to pass the images over to the window.
Is there a way to set a picture box object to:
Stretch with window size (with a minimum and maximum size defined)Maintain it's original aspect ratio (e.g. square) (see script 2)Forbid direct user re-sizing.
Here's some JSL that uses the sample table of images.
Clear ...