Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

iconmaster

macrumors newbie
Original poster
Jul 18, 2003
5
1
I'm using an NSStatusBar that drops an NSMenu whose items are editable by the user. It works great, but for extra-long menu items that the user may generate I need a way to limit the menu width.

Currently, the menu just expands to the left side of the screen and doesn't wrap the text.

How do I set a max width on the NSMenu or NSMenuItem? How do I enable word wrap? I've looked through IB's settings and researched methods for all the relevant classes.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.