• 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
Re: Setting color of NSPopupButtons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Setting color of NSPopupButtons (From: "Elsa Kahsen" <email@hidden>)

  • Prev by Date: Re: Disclosure Triangle - how to set Selected programatically?
  • Next by Date: Re: Garbage collection and compiling of non GC framework (MCPKit library)
  • Previous by thread: Setting color of NSPopupButtons
  • Next by thread: Linker error: symbol(s) not found
  • Index(es):
    • Date
    • Thread