Hi All,

I've dug around through the archives, but couldn't turn anything up that addresses this question, so I turn to the collective wisdom of the list.

I'm trying to figure out how to create an NSScrollView subclass that expands vertically rather than scrolling, up to a certain height. For instance, a scrollview containing an NSTextView would expand itself when the textview exceeded the visible rect, until the textview reached a certain length, at which point normal scrolling behavior would commence. Likewise, it would shrink back along the same parameters.

I am imagining that this might have something to do with the ClipView, but I may be way off. Alternatively a scrollViewShouldScroll: delegate method would be convenient at this point.

If that wasn't coherent, or if anyone has any ideas, I would be sincerely grateful.

Peace,

Andy Shamel
_______________________________________________

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