Aspect Ratio On Zoom
#1
Hi,

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

ZoomMode="Move"
Stretch="None"
Viewbox="0 0 1 1"
ViewboxLimits="0 0 1 1"
ViewboxMinSize="0.1 0.1"
IsViewboxLimited="True" 
IsTouchRotateEnabled="False"

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?
#2
You should set Stretch to Uniform instead of None. Uniform is also the default value so you can remove that setting.
Andrej Benedik
#3
Thank you very much, that fixed our issue :)
  


Forum Jump:


Users browsing this thread:
1 Guest(s)