• 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: NSToolbars and NSToolbarItems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSToolbars and NSToolbarItems


  • Subject: Re: NSToolbars and NSToolbarItems
  • From: Scott Anguish <email@hidden>
  • Date: Wed, 6 Aug 2003 02:46:56 -0400

On Wednesday, August 6, 2003, at 2:31 AM, Francisco Tolmasky wrote:

Well, is there at least a way to have a toolbar item not have a label string, AND not have the little extra space bellow it if the person chooses to have labels anyways.


Not easily.. no.

Also, would it be advisable/possible to subclass nstoolbar to do the always showing thing on the right. Just thinking about it makes me think it would be pretty hard or near impossible without losing much of NSToolbar's functionality.

Probably not. You may want to look at the OmniFrameworks.. I think they have a preferences toolbar that is similar to what you want.

and file that enhancement request..


On Tuesday, August 5, 2003, at 11:22 PM, Scott Anguish wrote:


On Wednesday, August 6, 2003, at 1:57 AM, Francisco Tolmasky wrote:

Ok, can I have a toolbar item that MUST be in a toolbar in a given position. For example, in Safari, the search text field and url text field are always there. I want to know if there's a way to make it so that a certain item always appears at the very right of my toolbar, regardless, but allows every thing else to be customized.


Nope, there is no API for this. You should file an enhancement request though, since it makes sense.

Incidentally, I don't think Safari uses the NSToolbar... there is no Customize popup, no drag and drop of the items, and it has a different UI for handling customization.




Francisco Tolmasky
email@hidden
http://users.adelphia.net/~ftolmasky
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: NSToolbars and NSToolbarItems (From: Francisco Tolmasky <email@hidden>)

  • Prev by Date: Re: NSOutlineView won't act as drag source
  • Next by Date: Re: Dynamically setting a files icon
  • Previous by thread: Re: NSToolbars and NSToolbarItems
  • Next by thread: getting dragged file's name
  • Index(es):
    • Date
    • Thread