I'd like to change the color of all of my NSToolbarItem's labels.
I need to set it to white because it suits better to the background color of my NSWindow, but it defaults to black and I haven't found a way to change it neither in Interface Builder nor directly by code (NSToolbarItem implements setLabel, but it just sets the text string).
If possible, I'd like to avoid:
- Replacing the whole
NSToolbarby a customNSView. Would feel like reinventing the wheel to me. - Having to create custom
NSViews insideNSToolbarItem. It would imply having to leave blank all of its labels and adding the white-colored label inside the custom view.