Subject: Re: custom toolbar item autoresizing?
On Mar 31, 2009, at 12:16 PM, John Mikros wrote:
I have a custom view in an NSToolbar. I would like this item to
expand as much as possible, similar to
NSToolbarFlexibleSpaceItemIdentifier, or similar to the address bar
I was hoping that setting the min and max size on the NSToolbarItem
would cause this to happen, but it does not.
Is there some trick to this?
Setting the minimum and maximum size should be enough. See the search
field in the SimpleToolbar example (/Developer/Examples/AppKit/
SimpleToolbar/) for sample code.
Cocoa-dev mailing list (Cocoa-dev@xxxxxxxxxxxxxxx)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to maillists@xxxxxxxxx