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: Tue, 05 Jun 2012 19:44:26 -0400
On Jun 5, 2012, at 7:16 PM, Corbin Dunn wrote:
>
> On Jun 4, 2012, at 11:48 AM, Koen van der Drift <email@hidden> wrote:
>
>> Ok, I'm stumped here. I have a few scrollable views in my window, two
>> NSTableViews, and an NSTextView. I'd like to have the scrollbar to
>> hide when not in use, and used the setting of the NSScrollView in IB
>> in Xcode to do so. For the NSTextView it works, but for the
>> NSTableViews the scrollbar won't hide, and are also much wider. The
>> scrollbar settings are exactly the same for all three NSScrollViews.
>>
>> What am I missing here, is there another secret setting?
>
> What settings are you referring to?
> By hide, do you mean autohide scrollers when not needed, or not used? The later is also dependent on the OS settings for your mouse.
I am referring to "Automatically hide scroller" and "Show vertical scroller", these are both on for all three views. In the textview the scrollbar behaves as expected, in the tableview, the scrollbar is always visible. The scrollbar on the tableviews has a visible 'gutter' as was the case pre-lion and is also drawn in a slightly lighter shade of gray. All other apps I use (including the TableViewPlayground code example from Apple) have the expected behavior.
Here's a screenshot, hope this works:
http://dl.dropbox.com/u/41198645/Screen Shot 2012-06-05 at 7.36.44 PM.png
You can see the scrollbar on the right, the 'gutter' and scrollknob are always visible.
- 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