• 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
Re: Simple question? NSButton/checkbox color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple question? NSButton/checkbox color


  • Subject: Re: Simple question? NSButton/checkbox color
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 06 Jun 2014 09:30:54 -0700

On Jun 6, 2014, at 01:05 , Lee Ann Rucker <email@hidden> wrote:

> There's no supported way to do it and never has been

I was able to do it — at least partially — in IB:

— Select the checkbox

— Display the “Core Animation Layer” tab of the inspector palette (the last icon on the right)

— Check the box next to the checkbox’ entry in the list.

— Add a filter to the “Content Filters” list.

— Change the filter to “Hue Adjust”, and enter a parameter to get the color you want.

This worked for me when the checkbox was checked, though it was still gray when unchecked — presumably because it’s desaturated so the hue change has no effect. You can probably make it work like Calendar by choose a different filter (Colorize?) or a combination of filters.

OTOH, I can’t help saying that colorizing checkboxes doesn’t sound like a fruitful approach to UI design.




_______________________________________________

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: Simple question? NSButton/checkbox color
      • From: Alex Kac <email@hidden>
References: 
 >Simple question? NSButton/checkbox color (From: Alex Kac <email@hidden>)
 >Re: Simple question? NSButton/checkbox color (From: Alex Kac <email@hidden>)
 >Re: Simple question? NSButton/checkbox color (From: Lee Ann Rucker <email@hidden>)

  • Prev by Date: Re: Simple question? NSButton/checkbox color
  • Next by Date: Setting Scheme Environment variable
  • Previous by thread: Re: Simple question? NSButton/checkbox color
  • Next by thread: Re: Simple question? NSButton/checkbox color
  • Index(es):
    • Date
    • Thread