On 08/07/2012, at 12:13 PM, Gideon King wrote:

> Yes, I was using that type of code before too, but it didn't work with the 
> new scrollbar styles (drawing artifacts on resize, not automatically hiding), 
> which is what prompted me to look at subclassing the scroller itself instead. 
> Unfortunately it still only works with the legacy style scrollers and not 
> overlays as per my previous message.


That's right. If you do anything to modify the position of the scrollers, it 
will revert to the legacy scrollbars. That's the way NSScroller works now. 
AFAIK, you can't have it both ways - add a placard and have overlay scrollers. 
That's why I moved my placard elsewhere. That said I never experienced drawing 
artefacts or other problems, it just used the old scrollbars.

--Graham


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to