AB4D Forum

Full Version: Aspect Ratio On Zoom
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I am using a Zoom control with the following properties set:

Viewbox="0 0 1 1"
ViewboxLimits="0 0 1 1"
ViewboxMinSize="0.1 0.1"

All works fine until the very final part of the zoom when zooming out. If there are for example 10 zoom outs in total until the zoom out maximum level is reached, zooms 1 to 9 zoom correctly but the last zoom 10, the image inside the canvas in the zoom panel loses its Aspect Ratio?
You should set Stretch to Uniform instead of None. Uniform is also the default value so you can remove that setting.
Thank you very much, that fixed our issue :)