Re: NSSlider atop an image on OS 10.10 [SOLVED]
Re: NSSlider atop an image on OS 10.10 [SOLVED]
- Subject: Re: NSSlider atop an image on OS 10.10 [SOLVED]
- From: Tim Hewett <email@hidden>
- Date: Sun, 22 Feb 2015 14:58:50 +0000
Solved by changing the base view to a generic NSView and adding the NSImageView and NSSlider to that view (the slider over the image view), rather than previously the NSImageView being the base view with the slider control added to it (worked fine up to 10.10).
On 22 Feb 2015, at 03:06, Tim Hewett <email@hidden> wrote:
> I have a NSMenuItem with a view containing an image and a NSSlider over the top of the image. The slider cell is subclassed to draw a different slider knob.
>
> Up to OS 10.9 the image shows through the slider view rect so that all that is above the image is the slider bar and the knob. However under 10.10 the entire slider rect is superimposed as a white box over the image.
>
> All sorts of different settings and ways of drawing the slider have been tried to try and regain the transparency but with no success. I’m aware there is a move to deprecate controls having cells and that new settings have been added to controls to compensate for this (…..) but still nothing works.
>
> Is there a way to get the same behaviour as pre 10.10?
_______________________________________________
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