Constraining window width to scrolling contents with autolayout
Constraining window width to scrolling contents with autolayout
- Subject: Constraining window width to scrolling contents with autolayout
- From: Rick Mann <email@hidden>
- Date: Sun, 24 May 2015 22:00:17 -0700
I have a bunch of views statically arranged inside an NSScrollView. Their relative size doesn't change. But it's a large view, and I want to be able to view it on smaller displays, hence the scroll view.
Is there a way to constrain the window size to never be larger than just big enough to disable to scroll bars using autolayout constraints?
--
Rick Mann
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden