Using an NSSegmentedControl with single-selection - Blue tint?

Is there a documented way for an NSSegmentedControl to use the trackingMode NSSegmentSwitchTrackingSelectOne to exclusively select one segment in the control and render it with the blue tint?


The desired effect is a style similar to the one seen in the Xcode’s toolbar or its Navigator sub-toolbar.


The blue highlighting is used by the system frameworks when using the Many tracking mode, however not for single selection mode.

At the moment I can't get anything other than dark grey highlighting mode (like in Finder windows), which looks horrible when combined with the blue highlighting in the same toolbar (i.e. mixing segmented controls with select one and select many mode).


I would assume that's the reason Xcode uses blue highligthing exclusively for all toolbar items..


How can the blue tinting be activated for modes other than NSSegmentSwitchTrackingSelectOne?


Cheers,

Jay

Replies

..this is the style I'm looking for:

http://i64.tinypic.com/f3z5ok.png


Any hints much appreciated.


Cheers,

Jay

..any ideas..?

I have done it, create right size, I did (18x18) images I did pdf named LeftTemplate.pdf added to assets. Added right images to the control and that's it. It is easyer than you think. Gave the imageset name LeftTemplate and RightTemplate, it was in one of the guides. Image is black on white when as pdf but only outlines in controll, have to be monochromatic images.

The blue comes free, try it and I think max size is 19x19


Okay found the document OSXHIGuidelines, here link to right section in it

https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/OSXHIGuidelines/ToolbarIcons.html#//apple_ref/doc/uid/20000957-CH89-SW1