libs-gui icon indicating copy to clipboard operation
libs-gui copied to clipboard

Add setBezelColor for NSButton

Open optimisme opened this issue 2 years ago • 0 comments

Since macOS Monterey, NSButtons have the ability to configure the background color with 'setBezelColor'. It is not an essential need, but it is desirable. According to Apple's documentation:

The new tinting API provides a way to override the color for one specific control. This is great for controls where you’d like to apply a semantically meaningful color. For example, if your app uses a specific shade of orange to distinguish a preorder from a normal purchase, you can reinforce that design using a tinted button.

optimisme avatar Jan 02 '24 10:01 optimisme