View Aspect Ratio

Is there a way to maintain the aspect ratio of a view when minimizing it on a browser?

If you're using a coord container, there's an aspectRatio prop to do this. I usually bind it to the View's defaultSize and set it to persistent so the value is saved with the view.
For other container types, aspect ratio doesn't make sense

2 Likes