On Thu, Dec 26, 2013, at 07:08 PM, Peter Teeson wrote:
>     [_Cancel setBezelStyle:NSShadowlessSquareBezelStyle]; 

Ah. I think I've found (part of) your problem.
NSShadowlessSquareBezelStyle does not and to my knowledge has never
supported tinting with the user's tint color.

To my knowledge, the only bezel styles that respect the system's tint
color are NSRoundedBezelStyle and NSRoundedDisclosureBezelStyle, in
addition to buttons whose buttonType is NSSwitchButton or NSRadioButton.

But for the sake of completeness, I wrote a demo app that created a
button with the NSRoundedBezelStyle. It responds correctly to the tint
color setting in System Preferences, but it does NOT obey any tint color
set programmatically via -setControlTint:. I don't know if this is a new
behavior in Mavericks, or if this is true on earlier operating systems.

Given the existence of NSAppearance on Mavericks, I would not be
surprised if this is a regression that only happens on 10.9. But since
the expected behavior works Out Of The Box(TM) by default, I wouldn't be
surprised if nobody's noticed—or if Apple would actually consider this
regression an improvement.

--Kyle Sluder

_______________________________________________

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

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

Reply via email to