NSMenuItem +separatorItem. Separator showing a line programatically.
NSMenuItem +separatorItem. Separator showing a line programatically.
- Subject: NSMenuItem +separatorItem. Separator showing a line programatically.
- From: Danny Frey <email@hidden>
- Date: Tue, 25 Jan 2005 11:19:28 +0000
The Apple docs for NSMenuItem show the following:
----------------------
separatorItem
+ (id <NSMenuItem>)separatorItem
Returns a menu item that is used to separate logical groups of menu
commands. This menu item is disabled. The default separator item is
blank space.
----------------------
Using this in a menu gives me a space in the menu, I'd like a line as
is the default in IB, (default in IB but not in cocoa?) can anyone tell
me how to get one?
Cheers
Danny
NB. Google and maillist searches show this has been asked before but I
didn't see a solution.
_______________________________________________
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