• 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: Changing fonts without font menu?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Changing fonts without font menu?


  • Subject: RE: Changing fonts without font menu?
  • From: "Mradul Mandhanya" <email@hidden>
  • Date: Thu, 8 Jun 2006 19:59:51 +0530
  • Thread-topic: Changing fonts without font menu?

>From IB you can do it easily by selecting the button title and selecting
the font attributes from font panel.

If want to do programmatically NSAttributedString may help u.

Regards,
Mradul

-----Original Message-----
From: cocoa-dev-bounces+mmandhanya=email@hidden
[mailto:cocoa-dev-bounces+mmandhanya=email@hidden] On
Behalf Of Fredrik Olsson
Sent: Thursday, June 08, 2006 5:58 PM
To: Cocoa-dev
Subject: Changing fonts without font menu?

Having a NSFontManager and handling font changes from a standard font
menu is easy. But is there a way to hook up buttons to make text
bold/unbold?

I can not get sending addFontTrait actions to work, and the
documentation I have found only speaks of hooking up menus manually, not

other controls.

// Fredrik Olsson
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Changing fonts without font menu?
      • From: Fredrik Olsson <email@hidden>
  • Prev by Date: Re: Re: Re: Re: inconsistent crash drawing a string in a custom browser cell
  • Next by Date: Re: Changing fonts without font menu?
  • Previous by thread: Re: Changing fonts without font menu?
  • Next by thread: Re: Changing fonts without font menu?
  • Index(es):
    • Date
    • Thread