• 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
Re: NSMenuItem separatorItem -- default spacing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >NSMenuItem separatorItem -- default spacing? (From: Allan Odgaard <email@hidden>)

  • Prev by Date: NSKeyValueCoding ?
  • Next by Date: Toolbaritem
  • Previous by thread: NSMenuItem separatorItem -- default spacing?
  • Next by thread: FW: strcat
  • Index(es):
    • Date
    • Thread