Standard NSToolbarItems
Standard NSToolbarItems
- Subject: Standard NSToolbarItems
- From: Mark T <email@hidden>
- Date: Thu, 29 Nov 2001 10:50:38 -0500
I'm having a small problem constructing a toolbar for an application
I'm working on. The toolbar items that I create work perfectly, but
I'd also like to use a couple of Apple's predefined standard toolbar
items. If I just do something like the following, the item itself
works and displays correctly in the toolbar, but it shows up as a
completely blank object in the customization sheet(no name, no image,
but can still be dragged to the toolbar):
[tDict setObject:[[NSToolbarItem alloc]
initWithItemIdentifier:NSToolbarFlexibleSpaceItemIdentifier]
forKey:@"Flexible Space Item"];
where the delegate methods allow the toolbar to get items from tDict.
Any ideas?
Thanks,
Mark T.