• 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: Full-Height Toolbar Item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Full-Height Toolbar Item


  • Subject: Re: Full-Height Toolbar Item
  • From: David Catmull <email@hidden>
  • Date: Fri, 27 Jan 2012 09:51:12 -0700

On Jan 26, 2012, at 9:03 PM, Mark Alldritt <email@hidden> 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 (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


  • Follow-Ups:
    • Re: Full-Height Toolbar Item
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: How to open CMYK TIF in Cocoa?
  • Next by Date: Re: Full-Height Toolbar Item
  • Previous by thread: Re: Full-Height Toolbar Item
  • Next by thread: Re: Full-Height Toolbar Item
  • Index(es):
    • Date
    • Thread