Re: NSMenuItem separatorItem -- default spacing?
Re: NSMenuItem separatorItem -- default spacing?
- Subject: Re: NSMenuItem separatorItem -- default spacing?
- From: Leos Stybnar <email@hidden>
- Date: Mon, 15 Jul 2002 11:39:01 +0200
>
Hi there,
>
>
I use [NSMenuItem separatorItem] to obtain separators in my menu,
>
however it seems that the separator created is as tall as a normal menu
>
item whereas the system is able to create smaller group spacings.
>
>
Did I overlook something? should I set the font on my menu item to
>
something smaller?
Hi Allan,
I had the same problem. For some reason I have to subclass every menu item. My solution that works is overwriting isSeparatorItem() of a properly set menu item. Please let me know if you find better solution.
Leos
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.