NSPopupButton's icon stays big when Toolbar uses "small size"
NSPopupButton's icon stays big when Toolbar uses "small size"
- Subject: NSPopupButton's icon stays big when Toolbar uses "small size"
- From: Daniel Morrow <email@hidden>
- Date: Fri, 5 Nov 2004 09:28:11 -0500
I'm working on my first toolbar ever, and I have a question.
I'm using an NSPopupButton in the toolbar, with a borderless
appearance, and it is a drop-down. So, to the end-user, it looks much
like a regular toolbar item, execept for the small black triangle
indicating a popup menu.
The toolbar looks fine when the icons are full size, but when the user
chooses "Use Small Size", my regular toolbar icons get shrunk, but the
icon in my popup does not.
I've been looking around, and don't see a good way to handle this.
Also, what I was wondering, is should I even be doing it like this at
all? I was looking at Xcode, and it appears that even though some icons
their toolbars have menus attached to them, they don't appear to be
actual NSPopupButtons, because their icons shrink, and so does the
indicator triangle. It's almost like it's a regular toolbar item, but
it drops down a menu through some customization.
If anyone has ideas about this, please let me know,
-Dan.
_______________________________________________
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