Re: Problem with fontDescriptorWithFontAttributes:
Re: Problem with fontDescriptorWithFontAttributes:
- Subject: Re: Problem with fontDescriptorWithFontAttributes:
- From: Laurent Daudelin <email@hidden>
- Date: Mon, 21 Sep 2009 15:08:51 -0700
On Sep 21, 2009, at 14:30, Kyle Sluder wrote:
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
That works, Kyle, thanks!
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org
Logiciels Nemesys Software email@hidden
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries
_______________________________________________
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