NSToolbar problem in 10.6
NSToolbar problem in 10.6
- Subject: NSToolbar problem in 10.6
- From: John Mikros <email@hidden>
- Date: Fri, 4 Dec 2009 14:13:26 -0800
- Acceptlanguage: en-US
- Thread-topic: NSToolbar problem in 10.6
Hello all,
I have a window with an NSToolbar attached. The toolbar is created with defaultItemIdentifiers being an empty NSArray, and then we add items via insertItemWithItemIdentifier:atIndex:
All the item identifiers that are added to the toolbar are in the array returned by toolbarAllowedItemIdentifiers:
However, the first toolbar item that I add does not show up in the toolbar. The rest show up fine. If you click the toolbar widget in the upper right of the window to hide and then show the toolbar, then the missing item magically appears in the toolbar.
This does not happen in 10.5.8. Is there a way to force the toolbar to refresh, as if the user hid and re-showed the toolbar?
thanks
-john
_______________________________________________
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