Re: Scroller show/hide not triggered on doc resize
Re: Scroller show/hide not triggered on doc resize
- Subject: Re: Scroller show/hide not triggered on doc resize
- From: Jerry Krinock <email@hidden>
- Date: Mon, 22 Oct 2007 12:50:53 -0700
On 2007 Oct, 21, at 12:24, Ken Tozier wrote:
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
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden