• 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: Problem with fontDescriptorWithFontAttributes:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Problem with fontDescriptorWithFontAttributes:
      • From: Laurent Daudelin <email@hidden>
References: 
 >Problem with fontDescriptorWithFontAttributes: (From: Laurent Daudelin <email@hidden>)
 >Re: Problem with fontDescriptorWithFontAttributes: (From: "John C. Randolph" <email@hidden>)
 >Re: Problem with fontDescriptorWithFontAttributes: (From: Laurent Daudelin <email@hidden>)
 >Re: Problem with fontDescriptorWithFontAttributes: (From: Kyle Sluder <email@hidden>)
 >Re: Problem with fontDescriptorWithFontAttributes: (From: Laurent Daudelin <email@hidden>)

  • Prev by Date: Re: Problem with fontDescriptorWithFontAttributes:
  • Next by Date: Re: Core Data threading fun
  • Previous by thread: Re: Problem with fontDescriptorWithFontAttributes:
  • Next by thread: Re: Problem with fontDescriptorWithFontAttributes:
  • Index(es):
    • Date
    • Thread