I am making a little application with three NSButtons with an image set. These buttons have no border nor background. However, when I click a button it turns into a gray rectangle.
How can I fix this? Thanks.
I am making a little application with three NSButtons with an image set. These buttons have no border nor background. However, when I click a button it turns into a gray rectangle.
How can I fix this? Thanks.
Check out NSButtonCell's highlightsBy: and showsStateBy: methods. You should be able to adjust this by changing the state mask (the applicable Constants are in NSCell's reference page).