• 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
Making an NSMenu "small"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Making an NSMenu "small"?


  • Subject: Making an NSMenu "small"?
  • From: Matt Gemmell <email@hidden>
  • Date: Sun, 26 Jan 2003 22:15:20 +0000

Hi folks,

I'm displaying an NSMenu when my NSButton subclass is clicked, using -[NSMenu +popUpContextMenu:...]. The menu displays at normal size, i.e. the text of the items is the same size as the text in the menubar.

I'd like my menu to look the same way that an NSPopUpButton's menu does when the NSPopUpButton is set to "small", i.e. using the small system font. Is that possible? I don't see any NSMenu or NSMenuItem methods related to font or size, and calling NSControl's -setControlSize: method on my NSButton has no effect on its menu (nor would I expect it to).

Best,
-Matt

--
Matt Gemmell
Scotland Software
http://www.scotlandsoftware.com/
_______________________________________________
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.

  • Follow-Ups:
    • Re: Making an NSMenu "small"?
      • From: Jérôme Laurens <email@hidden>
  • Prev by Date: Re: Newbie question: get list of users
  • Next by Date: Re: Draw a NSImage in a NSTableView cell?
  • Previous by thread: Re: Nib Corruption ("Inconsistencies"): Can This Nib Be Saved?
  • Next by thread: Re: Making an NSMenu "small"?
  • Index(es):
    • Date
    • Thread