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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to