On 1 Sep 2008, at 7:52 pm, chaitanya pandit wrote:
But even if i change the textView's frame by increasing it's height so that it occupies the bottom most subview, i don't see the vertical scroller. Am i missing something?
NSTextView doesn't have a vertical scroller on its own. If you put it inside an NSScrollView then it could do. (IB does set it up this way by default, did you create the view this way or programatically?).
Increasing frame height doesn't force a hidden scrollbar to show - having more text than can be shown in the frame does though, which implies that making the frame *smaller* would be the more likely way to go there.
Remember: frame size = area occupied in the parent view. bounds = area logically occupied by the text + any subviews. So it's the bounds you need to increase to ensure that any subviews are properly covered by it. If the bounds > frame, the scrollbars will show if there are any there that can be shown.
hth, Graham _______________________________________________ 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 [EMAIL PROTECTED]