How do I implement a browser toolbar in Cocoa?
1 answer
Make sure you set maxSize and minSize correctly on the toolbar item and then set the autosize mask to the textbox. You control the size of the toolbar view just as if it were in a window, or make sure its width is flexible in IB if you create it there, or specify NSViewWidthSizable if you create it in code.
+2
a source to share