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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to