The Apple Human Interface Guidelines say:
In the Downloads window, Safari uses the free-standing NSImageNameStopProgressFreestandingTemplate image inline with a progress indicator to allow users to stop an in-progress download.
The NSImage documentation says something similar. However, creating an NSButton
using NSImageNameStopProgressFreestandingTemplate
and NSShadowlessSquareBezelStyle
produces something like this:
Unfortunately, this button does not match the "stop progress" buttons for the built-in Mac OS X applications:
- It's much darker than the buttons in Finder and Safari, and slightly darker than the one in iCal.
- It doesn't change color on rollover/hover like the buttons in Finder, Safari, and iCal.
Is there an NSButton
setting I'm missing that would make the system-provided image look "right"?
Failing that, is it better to use NSImageNameStopProgressFreestandingTemplate
and look "wrong," or to write a button subclass and bundle some TIFFs, which is what most applications (including Apple's) seem to be doing?