I’m building a Menulet with multiple buttons. Since these buttons do no inherit the default behavior of getting blue when clicked, i searched for a quick solution. Since i don’t know how to implement a custom cell and had no ambition to do so, i finally found a nice and quick solution.
The following lines make shure the button won’t show a white background which is default for every buttonType but NSMomentaryChangeButton.
Then the next few lines are called in the MenuItem’s delegate every time the menu will open or close.