Why is this happening:
As you can see, in the "Allowed Toolbar Items" the image looks fine for the "PHP" toolbar item, and when its actually in the toolbar, it scales weirdly.
Thanks
Why is this happening:
As you can see, in the "Allowed Toolbar Items" the image looks fine for the "PHP" toolbar item, and when its actually in the toolbar, it scales weirdly.
Thanks
I found it easier to drag an instance of "Image Well" (NSImageView) into the Toolbar. This allows setting appropriate dimensions (just add a minimum and maximum size and you can then set the desired scaling).
It is basically the same as dragging an instance of NSToolbarItem: it just automatically inserts a configurable NSImageView into a new NSToolbarItem. So you can wire it to your Target/Actions as usual.
Tipp: you can also drag NSSegmentedControls and other NSControls into the toolbar :-)
Found this in the documentation:
This seems you might want to try fiddling with the
NSToolbarItem
'sminSize
andmaxSize
properties.