Re: NSScrollView refuses to scroll
Re: NSScrollView refuses to scroll
- Subject: Re: NSScrollView refuses to scroll
- From: j o a r <email@hidden>
- Date: Wed, 7 Jan 2009 13:39:08 -0800
On Jan 7, 2009, at 1:26 PM, j o a r wrote:
// A suggestion
The correct thing to do is typically not to start with a scroll
view. If you simply drag out a text view from the library it comes
wrapped in a scroll view already - No need to add a scroll view
manually.
If you need to set it up manually (unlikely), make sure that you
understand the arrangement of views inside the scroll view first.
There is a very good "scroll view programming guide" in the
documentation that can help you get up to speed.
In addition: If you need to add a scroll view to some view that isn't
already wrapped in a scroll view when you get it from the library, the
preferred way to do that would be to select it and then use this menu
item:
Layout > Embed Objects In > Scroll View
This would, for example, work if you wanted to wrap a NSTextField in a
scroll view.
j o a r
_______________________________________________
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