• 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
Set Text Color of NSBox (ANSWERED)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Set Text Color of NSBox (ANSWERED)


  • Subject: Set Text Color of NSBox (ANSWERED)
  • From: Russ <email@hidden>
  • Date: Thu, 20 Nov 2008 15:15:04 -0800 (PST)

Once I fixed the color of my checkboxes and radio buttons to match the overall light on dark UI scheme (user-configurable), my NSBox text stuck out as a sore thumb. NSBox does not support setAttributedTitle, but fortunately there is an incredibly simple way to set the color of NSBox text:

    [[nsboxptr titleCell] setTextColor:colr];

Now that's what we're talking about!




_______________________________________________

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

  • Prev by Date: GC and print operations cause objects not to finalize?
  • Next by Date: Re: Cocoa-dev Digest, Vol 5, Issue 1991
  • Previous by thread: Re: GC and print operations cause objects not to finalize?
  • Next by thread: Re: Cocoa-dev Digest, Vol 5, Issue 1991
  • Index(es):
    • Date
    • Thread