Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Right aligning a toolbar item (Cocoa)

Right aligning a toolbar item (Cocoa)
Thread Tools
Senior User
Join Date: Feb 2003
Location: USA
Status: Offline
Reply With Quote
Sep 16, 2006, 01:11 PM
 
I'd like to have a default toolbar item be right aligned, as is commonly used for showing a drawer, like BBEdit:



I've looked through the docs for NSToolbarItem and can't seem to find anything relevant...

TIA!
MacBook 2.0 160/2GB/SuperDrive
Lots of older Macs
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Sep 16, 2006, 01:39 PM
 
Put a flexible space before it?
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Senior User
Join Date: Feb 2003
Location: USA
Status: Offline
Reply With Quote
Sep 16, 2006, 01:43 PM
 
Ah, I didn't realize that the order of items in toolbarDefaultItemIdentifiers defines the Default Set. Thanks!
MacBook 2.0 160/2GB/SuperDrive
Lots of older Macs
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:00 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2