On 13 mar 2009, at 23.55, Ken Tozier wrote:

I would like to customize an NSToolbar to make it's tools wrap rather than overflow, but I can't see any way to control the toolbar height. Is there some way to do this? I've had a lot of practice writing wrapping views but NSToolbar seems to be locked up pretty tight as far as how it lays out items so I don't know where to look. It's not even a subclass of NSView so there doesn't seem to be any way to set the size.

Specifically, I want to keep the unified titlebar/toolbar look but have complete control of the layout inside the toolbar. Anyone know if this can be done?


It can't be done. If you need this behavior / appearance, you'd have to implement your own toolbar.

j o a r


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to