Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hide baseline separator in toolbar



Hi.

I have a toolbar and I don't want it to show the baseline separator so I'm using this code:

- (void)setupToolbar
{
NSToolbar *toolbar = [[NSToolbar alloc] initWithIdentifier:MyDocumentToolbarIdentifier];

[toolbar setDelegate:self];

[toolbar setAllowsUserCustomization:YES];
[toolbar setAutosavesConfiguration:YES];
[toolbar setShowsBaselineSeparator:NO];

[documentWindow setToolbar:[toolbar autorelease]];
}


When the application is started, the toolbar is showed without the baseline spearator, but If I hide the toolbar the baseline separator is showed and continuos to be showed if I show the toolbar again. How can I make the baseline separator to always be hidden?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.