On Jan 26, 2012, at 9:03 PM, Mark Alldritt <alldr...@latenightsw.com> wrote:
> I'm looking for a way to make a view-based Toolbar Item that occupies the 
> full height of the toolbar (i.e. including the space normally reserved for 
> the toolbar item's label).  Xcode 4 does this for its "status" display, and I 
> have a similar need in my application.  The NSToolbar and NSToolbarItem 
> definitions don't appear to make this possible, but perhaps there is 
> something I've overlooked.


I've looked into this too, and haven't found an answer yet. According to this 
article, Xcode used to use a floating window trick:
http://stackoverflow.com/questions/6169255/is-it-possible-to-draw-in-the-label-area-of-nstoolbar

..but it doesn't anymore. Also note that Instruments has a full-height toolbar 
item, and that toolbar is fully customizable, so whatever tricks they're using 
they were able to make it behave like a normal toolbar item - cmd-draggable, in 
customize sheet, etc.
_______________________________________________

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

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

Reply via email to