• 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: Update of Typography panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Update of Typography panel


  • Subject: Re: Update of Typography panel
  • From: Martin Wierschin <email@hidden>
  • Date: Tue, 31 Jan 2012 15:58:43 -0800

>> I was just about to create a dummy NSTextView, when I found the (obvious) solution: I have to use [[NSFontManager sharedFontManager] setSelectedAttributes:isMultiple:]. This updates the Typography panel (at least with 10.7).
>
> I'm confused. Isn't this precisely what you said _didn't_ work in your original email?

Not quite. He first tried just "setSelectedFont:isMultiple:", then later "setSelectedAttributes:isMultiple:". It looks like one has to call both for all the panels to update properly.

I can confirm that calling both methods will update the typography and font panels properly on 10.6 as well.

Thanks,
~Martin


_______________________________________________

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


References: 
 >Update of Typography panel (From: Martin Huber <email@hidden>)
 >Re: Update of Typography panel (From: Martin Wierschin <email@hidden>)
 >Re: Update of Typography panel (From: Martin Huber <email@hidden>)
 >Re: Update of Typography panel (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Block Confusion...
  • Next by Date: Re: Block Confusion...
  • Previous by thread: Re: Update of Typography panel
  • Next by thread: Atta Boys, 4 bags-full
  • Index(es):
    • Date
    • Thread