Big Sur toolbar seems to prefer size of toolbar items to be set to automatic. Unfortunately, there doesn't seem to be a way to do this programmatically (using NSToolbarDelegate & NSToolbarItem), it seems to only be available when creating the toolbar with Xcode XIB editor.
I have several places in my app that use dynamically created NSToolbars and would like to find a way to address some of the display problems (as well as warnings) under future macOS releases because of this sizing issue.
Is there a way to set the size of NSToolbarItems to be automatic programmatically?
I have several places in my app that use dynamically created NSToolbars and would like to find a way to address some of the display problems (as well as warnings) under future macOS releases because of this sizing issue.
Is there a way to set the size of NSToolbarItems to be automatic programmatically?