Hi Folks,

Our application lets a user specify an image to use as a background for a
component. We need to scale the image to fill the VBox container (max width
or height) respecting the aspect ratio of the image. I have been setting the
backgroundImage, and backgroundSize="100%" styles on the VBox but the image
is being stretched.

How can I do this?

Cheers,

Greg

Reply via email to