Re: Setting color of NSPopupButtons
Re: Setting color of NSPopupButtons
- Subject: Re: Setting color of NSPopupButtons
- From: Peter Ammon <email@hidden>
- Date: Wed, 3 Sep 2008 14:43:15 -0700
On Sep 3, 2008, at 11:19 AM, Elsa Kahsen wrote:
Actually I realize I had two questions.
Here is my follow up question. How do you set the fore and
background colors
of NSPopupButtons? -setBackgroundColor doesn't seem to apply to
NSPopupButtons.
Thanks a lot.
What do you mean by foreground and background colors?
Perhaps you mean the color of the title text? You can change the
color of the control's title text by setting a colored
NSAttributedString on its menu item. But I'm not sure what you mean
by background color - popup buttons have a standard appearance.
-Peter
_______________________________________________
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