Re: Why does IB insist on putting NSTextView in an NSScrollView
Re: Why does IB insist on putting NSTextView in an NSScrollView
- Subject: Re: Why does IB insist on putting NSTextView in an NSScrollView
- From: Jens Alfke <email@hidden>
- Date: Sun, 17 Jan 2010 14:20:11 -0800
On Jan 17, 2010, at 5:34 AM, Jerry Krinock wrote:
> I don't see why an un-embedded NSTextView is not available in the Library.
I think because it's generally considered unnecessary. Without the scrollview wrapped around it, it can't scroll, which means the amount of text it can be used with is really limited. There's not much point to that; if you want something for little bits of text, an NSTextField works better. If you really don't want the scroll bars to show up by default, you can hide them.
Yes, you can save yourself a few lines of code by not having to deal with the enclosing scrollview, but it doesn't seem worth it to me.
—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden