In Big Sur when created tool bar item programmatically (from a view in Interface Builder), I get that warning when I use setMinSize and setMaxSize. The problem is that if I don't set them, Big Sur does not display them correctly in the customize tool bar sheet for the window (setting them fixes that but causing warnings).
One "solution" above said to set "size" of Tool bar item to "Automatic", but I don't see a programmatic option to set "size" property of a NSToolBarItem?
Topic:
UI Frameworks
SubTopic:
AppKit
Tags: