Maintaining Aspect Ration of a Window


Dave
 

Mac, Manual Layout of Views.

Hi All,

Is there anyway to ensure that when a window resizes on the Mac it maintains its aspect ratio? I’m doing manual layout as for this project Auto Layout isn’t viable, so I guess I am really asking, is there anyway of stopping the Window resizing in response to the user dragging one of the edges?

Thanks in advance.

All the Best
Dave

Join cocoa@apple-dev.groups.io to automatically receive all group messages.