Re: can't hide scrollbar on NSTableView
Re: can't hide scrollbar on NSTableView
- Subject: Re: can't hide scrollbar on NSTableView
- From: Koen van der Drift <email@hidden>
- Date: Wed, 06 Jun 2012 18:04:18 -0400
On Jun 6, 2012, at 4:51 PM, Corbin Dunn wrote:
> Just call setScrollerStyle to NSScrollerStyleOverlay to force it on. NSScrollView decides if it can be on or off by default using a special algorithm; you might be tripping it up by having a view that intersects with the scroll area, so you can just force it always to be overlay.
That doesn't work :(
I added this:
NSScrollView *sv = [myTableView enclosingScrollView];
[sv setScrollerStyle: NSScrollerStyleOverlay];
In my general preferences I tried both "Automatically based on input device" and "When scrolling".
- Koen.
_______________________________________________
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