In Big Sur when I use window.toolbarStyle = NSWindowToolbarStylePreference and set toolbar.displayMode = NSToolbarDisplayModeIconAndLabel the toolbar buttons don't take on the Preferences style.
The hover and click state is only over the icon when it should be a large box surrounding the icon and label. These are the normal toolbar button styles. How do I get the buttons to take on the Preferences style?
I've had to resort to using window.contentViewController = NSTabViewController to get the right toolbar button style.
Is there something special I need to do to get NSWindowToolbarStylePreference to work?