Re: Auto Layout Problems
Re: Auto Layout Problems
- Subject: Re: Auto Layout Problems
- From: "Gary L. Wade" <email@hidden>
- Date: Fri, 04 Sep 2015 10:14:52 -0700
It seems your thread keeps changing subjects so it's been difficult to follow your troubles back to something at the start, or maybe something's gotten lost.
If you have a view in a XIB, you can usually choose to embed it in a scroll view (there's a menu item for that) which should take care of your issues, provided that view is the one which changes size.
If it doesn't, look at NSScrollView for a method named something like reflect document size change and call it after changing your view's size.
The scroll view and clip view work together to keep everything coordinated with the document view's size, which just refers to your sizable view that you embedded within a scroll view (a stack view if I've followed things correctly). Be very sure you need another view between them before adding one. If so, that should be the scroll view's document view and you should only handle changing its size.
--
Gary L. Wade (Sent from my iPhone)
http://www.garywade.com/
_______________________________________________
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