Trying to achieve aperture PopUp buttons
Trying to achieve aperture PopUp buttons
- Subject: Trying to achieve aperture PopUp buttons
- From: Gustavo Pizano <email@hidden>
- Date: Tue, 2 Mar 2010 21:28:35 +0100
Hello.
Have somebody used aperture? well if so, in the filter panel, the PopUp buttons that appear there are black, and the background of the menu is black as well.
I was trying to achieve something alike, but I hadn't done it. I was able to subclass NSPopUpButton, and override the drawRect method, and right now the NSPopUpButton appears black with a gradient, on the right side I was able to put the arrows indicators, and also the selected menu item,
The problem is that when I click the popup button, the menu its aqua style, so its background its gray. I was trying to make it black by subclassing NSPupUpButtonCell and nothing, I looked at the dos, and I saw that NSMenuItem could give me a help, but nothing either.. So I dunno how to achieve that.
Any ideas?
I read somewhere in older post that some people were able to do it, by subclassing NSPopUpbutton and NSPopUpButtonCell, but not my case. :(
Thx a lot
Gustavo
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden