Re: NSTextView help
Re: NSTextView help
- Subject: Re: NSTextView help
- From: Jim Correia <email@hidden>
- Date: Tue, 21 Jul 2009 00:19:05 -0400
On Jul 20, 2009, at 11:49 PM, Dave DeLong wrote:
The problem I'm facing is that in order to display the RTF data
properly, I need an NSTextView, but NSTextView has its own enclosing
scroll view that's conflicting with my overall scrollview.
NSTextView doesn't intrinsically have its own scroll view.
When you drag a text view (or a table view) out of the Library pallet
in IB, you are actually dragging an NSScrollView with an NSTextView as
the document view since this is a typically useful configuration.
If some other configuration is more useful to you, feel free to
configure the view hierarchy that way.
Look at the TextSizingExample in the examples folder for examples of
other common configurations.
- Jim
_______________________________________________
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