Re: NSButton Text Color?
Re: NSButton Text Color?
- Subject: Re: NSButton Text Color?
- From: "I. Savant" <email@hidden>
- Date: Wed, 31 Jan 2007 20:27:15 -0500
Check out NSFont's +controlContentFontOfSize: method ... you'll
want to adjust your attributed string to use the same fonts/sizes the
system uses.
--
I.S.
On Jan 31, 2007, at 7:54 PM, email@hidden wrote:
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:
40gmail.com
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