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 protected]> 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 protected]) 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 [email protected]
