• 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: Button Text Color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Button Text Color


  • Subject: Re: Button Text Color
  • From: "Alastair J.Houghton" <email@hidden>
  • Date: Tue, 29 Jul 2003 22:20:58 +0100

On Tuesday, July 29, 2003, at 09:50 pm, Seth Willits wrote:

From the looks of it, there's no way to change a NSButton's text color. More specifically, that of a switch and radio button. Am I wrong or can I not place either control on a black background?

I haven't tried changing the colour myself, but I think you should be able to do it by calling -setAttributedTitle: and passing in an NSAttributedString with a white foreground colour.

Kind regards,

Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Button Text Color (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: cocoa-dev digest, Vol 2 #2711 - 14 msgs
  • Next by Date: Menu/saving problem
  • Previous by thread: Button Text Color
  • Next by thread: Re: Button Text Color
  • Index(es):
    • Date
    • Thread