Highlight NSToolbarItems

后端 未结 3 769
失恋的感觉
失恋的感觉 2021-01-05 08:17

I want to highlight the selected NSToolbarItem like e.g. in Adium (see screenshot).

highlight http://a2.s3.p.quickshareit.com/files/screenshot_b28b67ba9

3条回答
  •  抹茶落季
    2021-01-05 08:50

    If you made your toolbar in Interface Builder, you can click on the individual NSToolbarItems and check the Selectable box in the Inspector for the ones you want to have that look. No code needed.

提交回复
热议问题