diff options
author | avenjamin <avenjamin@gmail.com> | 2010-06-14 15:22:43 +0000 |
---|---|---|
committer | avenjamin <avenjamin@gmail.com> | 2010-06-14 15:22:43 +0000 |
commit | 8bb33b515e95606566e8286b5714e7e3be01ffad (patch) | |
tree | ac72bbe840328426af5fb7e08410f3a89f727794 /Source | |
parent | f2e7ed60ebafc4ff0e2f1155116153f0d9e79d2e (diff) | |
download | sequelpro-8bb33b515e95606566e8286b5714e7e3be01ffad.tar.gz sequelpro-8bb33b515e95606566e8286b5714e7e3be01ffad.tar.bz2 sequelpro-8bb33b515e95606566e8286b5714e7e3be01ffad.zip |
Initial stage of re styling the tab bar to actually look half decent.
- Change line 373 of PSMTabBarControl to "SequelPro" to see new tabs.
- The drawing of the tab edges needs to be redone on the very edge of each tab instead of being inset by a number pixels to resolve a few issues.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPDatabaseDocument.m | 1 | ||||
-rw-r--r-- | Source/SPWindowController.m | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m index e0ba899e..e06065af 100644 --- a/Source/SPDatabaseDocument.m +++ b/Source/SPDatabaseDocument.m @@ -3574,6 +3574,7 @@ // set up toolbar properties [mainToolbar setAllowsUserCustomization:YES]; [mainToolbar setAutosavesConfiguration:YES]; + [mainToolbar setShowsBaselineSeparator:NO]; [mainToolbar setDisplayMode:NSToolbarDisplayModeIconAndLabel]; // set ourself as the delegate diff --git a/Source/SPWindowController.m b/Source/SPWindowController.m index 91fc3cd5..eaa98997 100644 --- a/Source/SPWindowController.m +++ b/Source/SPWindowController.m @@ -51,7 +51,7 @@ managedDatabaseConnections = [[NSMutableArray alloc] init]; // Set up the tab bar - [tabBar setStyleNamed:@"Metal"]; + [tabBar setStyleNamed:@"SequelPro"]; [tabBar setCanCloseOnlyTab:NO]; [tabBar setHideForSingleTab:YES]; [tabBar setShowAddTabButton:YES]; |