Re: Problem adding subview to NSScroller subclass
Re: Problem adding subview to NSScroller subclass
- Subject: Re: Problem adding subview to NSScroller subclass
- From: Graham Cox <email@hidden>
- Date: Sun, 08 Jul 2012 12:21:11 +1000
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 (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