• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: can't hide scrollbar on NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >can't hide scrollbar on NSTableView (From: Koen van der Drift <email@hidden>)
 >Re: can't hide scrollbar on NSTableView (From: Corbin Dunn <email@hidden>)
 >Re: can't hide scrollbar on NSTableView (From: Koen van der Drift <email@hidden>)
 >Re: can't hide scrollbar on NSTableView (From: Corbin Dunn <email@hidden>)
 >Re: can't hide scrollbar on NSTableView (From: Koen van der Drift <email@hidden>)
 >Re: can't hide scrollbar on NSTableView (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Re: Method Call
  • Next by Date: Re: can't hide scrollbar on NSTableView
  • Previous by thread: Re: can't hide scrollbar on NSTableView
  • Next by thread: Re: can't hide scrollbar on NSTableView
  • Index(es):
    • Date
    • Thread