Re: NSScrollView automatically changes scroller styles?
Re: NSScrollView automatically changes scroller styles?
- Subject: Re: NSScrollView automatically changes scroller styles?
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 30 Mar 2012 12:38:34 -0600
On Mar 30, 2012, at 12:10 PM, Raleigh Ledet wrote:
> NSScrollView does various checks to see if the App is trying to put placards in the scroller area. If NSScrollView thinks there are placards, then it reverts back to legacy scrollers for compatibility. Some apps have been known to do this via a sibling view instead of a subview. This is why it intermittently happens during your animation as your sibling views momentarily overlap.
Thanks; that makes sense. I filed a bug on this behavior (11139156) and worked around the problem for good by subclassing NSScrollView and overriding -setScrollerBehavior: to do nothing when called. My app doesn't place anything in the scroller areas.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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