• 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
Modify appearance of NSSegmentedControl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Modify appearance of NSSegmentedControl


  • Subject: Modify appearance of NSSegmentedControl
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Sun, 28 Dec 2008 23:20:11 +0700

I have an NSSegmentedControl with segmentCount = 1, segmentStyle = NSSegmentStyleSmallSquare (used in a Toolbar).

When the NSSegmentedControl has state = NSOnState, the backgroung is light gray with black text.

I want to have a dark gray background with white text. (Same as a Round Textured NSButton with Mode = On Off).

How can this be done? I tried all sort of things with setCellAttribute:, but this did not seem to have any effect.


Kind regards,

Gerriet.


_______________________________________________

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


  • Prev by Date: Find with Nonspacing_Mark
  • Next by Date: should it crash?
  • Previous by thread: Re: Find with Nonspacing_Mark
  • Next by thread: should it crash?
  • Index(es):
    • Date
    • Thread