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

Re: NSButton Text Color?


  • Subject: Re: NSButton Text Color?
  • From: email@hidden
  • Date: Wed, 31 Jan 2007 17:54:27 -0700

I just tried passing a NSMutableAttributedString to setTitle on a button, with the color set to red.

Works fine. The text size looked wrong, though, but that could be adjusted.

On Jan 28, 2007, at 2:40 PM, maximilian marcoll wrote:


hi!

i want to change the color of a NSButton in NSSwitchButton mode.
i assumed there would be an NSTextFieldCell associated with the button,
but i can't figure out how to get to it. maybe i'm wrong.


can anybody help?

thanks in advance

max
_____________________________________________

m a x i m i l i a n   m a r c o l l
http://www.maximilianmarcoll.de

d i s . p l a y c e
http://dis.playce.info




_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: NSButton Text Color?
      • From: "I. Savant" <email@hidden>
References: 
 >NSButton Text Color? (From: maximilian marcoll <email@hidden>)

  • Prev by Date: Re: Mixing network code with NSThread
  • Next by Date: Re: NSButton Text Color?
  • Previous by thread: Re: NSButton Text Color?
  • Next by thread: Re: NSButton Text Color?
  • Index(es):
    • Date
    • Thread