• 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
NSMenuItem layout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMenuItem layout


  • Subject: NSMenuItem layout
  • From: Alessandro Barile <email@hidden>
  • Date: Tue, 13 Mar 2007 23:05:44 +0100

Hi,
  There is a way for formatting the NSMenuItem content?

I used setAttributedTitle with NSMutableAttributedString class.

For font, color attributes it's ok.
But... i haven't understood like to set the left/right margin about text in the NSMenuItem, because if the text is very long, the size of NSMenuItem corresponds to all the space available on the screen.


Where I am mistaking?

Thanks to all
Ale

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Prev by Date: Re: Getting colour data at specified point in an NSImage
  • Next by Date: Delaying the Opening of Files on Launch
  • Previous by thread: Re: Getting colour data at specified point in an NSImage
  • Next by thread: Delaying the Opening of Files on Launch
  • Index(es):
    • Date
    • Thread