• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSSlider atop an image on OS 10.10
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSSlider atop an image on OS 10.10 [SOLVED]
      • From: Tim Hewett <email@hidden>
  • Prev by Date: Unknown class ‘MyCustomView', using 'NSView' instead
  • Next by Date: Looking for a TableView controller, that can create layout like this
  • Previous by thread: Re: Unknown class ‘MyCustomView', using 'NSView' instead
  • Next by thread: Re: NSSlider atop an image on OS 10.10 [SOLVED]
  • Index(es):
    • Date
    • Thread