i working with swift for osx and I have a nstoolbaritem.
this toolbar item is to large.
i would like to show it smaller.
i tried this:
@IBOutlet weak var toolbarItem: NSToolbarItem!
toolbarItem.maxSize = NSSize(width: 15, height: 15)
minSize only apply when you are using custom views for your toolbar.
toolbarItem.view = MyCustomControlView(frame: someRect)
AppKit controls only obey the
sizeMode of the containing toolbar.
See the documentation for more details.