• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Customizing an NSToolbar to wrap it's tools.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Customizing an NSToolbar to wrap it's tools.


  • Subject: Re: Customizing an NSToolbar to wrap it's tools.
  • From: Joar Wingfors <email@hidden>
  • Date: Sat, 14 Mar 2009 09:55:26 -0700


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 (email@hidden)

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 email@hidden


References: 
 >Customizing an NSToolbar to wrap it's tools. (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Performance problem with GC enabled
  • Next by Date: Messages between Threads
  • Previous by thread: Customizing an NSToolbar to wrap it's tools.
  • Next by thread: Any interest in an article comparing and contrasting Cocoa with MS Managed C++ with CLI
  • Index(es):
    • Date
    • Thread