A regular NSButton
seems to be transparent if it’s disabled.
Image shows a Button with style 'push'
However, I want to disable the Button without the transparency.
I’ve tried to programmatically set the alphaValue
to 1.0
but it seems that the NSButtons cell
(controlView) as well as all other subviews are already at an alphaValue of 1.0.
Also, there’s nothing like userInteractionEnabled
or adjustsImageWhenDisabled
(both recommended here) I could use like in iOS.
How can I disable a NSButton without the standard transparency?
EDIT: Also a 'textured push' button appears to be transparent: