The Apple Human Interface Guide says:
In the Downloads window, Safari uses the stand-alone NSImageNameStopProgressFreestandingTemplate image, which is built into the progress indicator so that users can stop the current download.

(source: apple.com )
The NSImage documentation says something similar. However, creating an NSButton using NSImageNameStopProgressFreestandingTemplate and NSShadowlessSquareBezelStyle results in something like this:

Unfortunately, this button does not match the Stop Execution buttons for Mac OS X embedded applications:
- It is much darker than the buttons in Finder and Safari, and slightly darker than the button in iCal.
- It does not change color on hover / hover like buttons in Finder, Safari and iCal.
Are you missing the NSButton setting that NSButton system image look βcorrectβ?
If this fails, is it better to use the NSImageNameStopProgressFreestandingTemplate and look "wrong", or write a subclass of the button and link some TIFF files, which is what most applications (including Apple) seem to do?
source share