Re: ScrollView Programming
Re: ScrollView Programming
- Subject: Re: ScrollView Programming
- From: Quincey Morris <email@hidden>
- Date: Tue, 05 Apr 2011 23:47:31 -0700
On Apr 5, 2011, at 23:28, Quincey Morris wrote:
> Almost certainly your problem is that you failed to set the autoresizing springs correctly for the "document" view. In the simplest case, it should be anchored on all 4 sides, and be stretchy in both directions.
Gah! Said that backwards. If you do the above, it will of course never scroll because it will always get resized to the size of the clip view. It needs to be *bigger* than the clip view for scrolling to happen.
If it's just a view full of controls, it shouldn't be set to resize automatically at all.
_______________________________________________
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