visibilityPriority
The display priority associated with the toolbar item.
Declaration
var visibilityPriority: NSToolbarItem.VisibilityPriority { get set }Discussion
The default value of this property is standard. Assign a higher priority to give preference to the toolbar item when space is limited.
When a toolbar doesn’t have enough space to fit all of its items, it pushes lower-priority items to the overflow menu first. When two or more items have the same priority, the toolbar removes them one at a time starting from the trailing edge.