I am trying to make the application very similar to the Apple Mac OS App Store, where the window title does not appear, but it has a toolbar with icons and shortcuts.

The problem is that when I set the window title to hide in my Window Controller, it also hides the toolbar labels.
window?.titleVisibility = .hidden
I tried to explicitly set the toolbar to display icons and labels, but it seems to be ignoring it.
toolbar.displayMode = .iconAndLabel
Here is a screenshot of my application with and without header settings:

source
share