NSSlider atop an image on OS 10.10
NSSlider atop an image on OS 10.10
- Subject: NSSlider atop an image on OS 10.10
- From: Tim Hewett <email@hidden>
- Date: Sun, 22 Feb 2015 03:06:47 +0000
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