Re: Problem with fontDescriptorWithFontAttributes:
Re: Problem with fontDescriptorWithFontAttributes:
- Subject: Re: Problem with fontDescriptorWithFontAttributes:
- From: Kyle Sluder <email@hidden>
- Date: Mon, 21 Sep 2009 14:30:22 -0700
On Mon, Sep 21, 2009 at 2:29 PM, Laurent Daudelin
<email@hidden> wrote:
> Simple: I want to set the font as a gray to show that the text field cell is
> disabled, e.g. cannot be selected.
Okay, what you really want to do is set the
NSForegroundColorAttributeName of the attributed string that's being
drawn.
http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Conceptual/AttributedStrings/AttributedStrings.html
--Kyle Sluder
_______________________________________________
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