NSButton no click selection

I have an NSButton with an image (and without text), on a blue background. The Square style, type Momentary Push In , is not limited, etc.

When I press the button, a rectangle glows around it, which is highlighted for a second. How can I get rid of it?

I only want the image to be displayed, and when I click on it there should be no backlight indicators ... Do I have to subclass the button or is there a simple setting in Interface Builder?

Not pressed - normal state: NSButton normal state

Press - highlighted: highlighted NSButton when clicked

therefore I do not want rect highlighting; -)

+7
source share
1 answer

You need to set the highlights property of the cell. See Borderless NSButton turns gray when clicked for more information.

+12
source

All Articles