NSToolbarItem + NSPopUpButton ?
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