Re: NSTextView, NSTabView - Frame/Scroll issues?
Re: NSTextView, NSTabView - Frame/Scroll issues?
- Subject: Re: NSTextView, NSTabView - Frame/Scroll issues?
- From: Douglas Davidson <email@hidden>
- Date: Fri, 5 Jan 2007 13:35:44 -0800
On Jan 4, 2007, at 2:31 PM, Brian Amerige wrote:
It doesn't fill the height of the window (even thought the springs
in IB are accurately set for the NSTabView), but rather it fills
the height to match the size of the document (eg. a 5 line text
file is only a 5 line textview). In the event that the document is
taller (height wise) than the window, it doesn't add a scrollbar,
either.
A lot of people are confused at first because they don't notice that
when they drag out an NSTextView in IB, what they actually get is an
NSTextView inside an NSScrollView. That's the combination you're
looking for. You can also look at the TextSizingExample for more
details on NSTextView sizing.
Douglas Davidson
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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