• 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
NSToolbarItem + NSPopUpButton ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSToolbarItem + NSPopUpButton ?


  • Subject: NSToolbarItem + NSPopUpButton ?
  • From: Martin Wengenmayer <email@hidden>
  • Date: Mon, 17 Apr 2006 03:35:22 +0200

Hi,
I want to create a toolbar item with a menu (like in Keynote or Pages). Therefor I've set up the NSToolbarItem with a boarder less NSPopUpButton as custom view. That works with with normals icons size.


But if I display the toolbar with small symbols the PopUpButton icon doesn't scale. What do I have to make it work like in Keynote or Pages.

I've read that I have to create a custom NSPopUpButton class and add a setControlSize: message. But how should that message look like?


Many thanks in advance, Martin _______________________________________________ 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
  • Prev by Date: Re: does windowDidClose or not?
  • Next by Date: NSOpenPanel crashes application
  • Previous by thread: RE: Printing resolution problems
  • Next by thread: NSOpenPanel crashes application
  • Index(es):
    • Date
    • Thread