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.
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.