I have an NSScrollView containing a programatically sized custom
NSView as its document view and can't get the scrollbars to show
when the doc view becomes deeper than the NSScrollView's frame.
Ken, there are two ways to do this. Which are you having trouble with?
(a) relying on -setAutohidesScrollers:YES
(b) using -setHasVerticalScroller:YES/NO "manually" based on your
document view size?
I've often had trouble with (a), and my solution is to use (b). I
think it looks better when the scroller is gone too, since the
scroller completely disappears instead of leaving the dirty gray
ghost as in (a).
_______________________________________________
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