diff options
author | rowanbeentje <rowan@beent.je> | 2010-06-18 00:45:03 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-06-18 00:45:03 +0000 |
commit | f4957e259b41f2ce4f1eaac6e0f75b82d34995b7 (patch) | |
tree | dbf9bbe3fbe261668a396a2cb772691099a9fbb0 /Frameworks/PSMTabBar/PSMTabBarControl.m | |
parent | ed3d93c5d420dffa1a9ee64851648396b81bcac9 (diff) | |
download | sequelpro-f4957e259b41f2ce4f1eaac6e0f75b82d34995b7.tar.gz sequelpro-f4957e259b41f2ce4f1eaac6e0f75b82d34995b7.tar.bz2 sequelpro-f4957e259b41f2ce4f1eaac6e0f75b82d34995b7.zip |
Enable the "Sequel Pro" tab style by default, and include the following fixes:
- Fix display of the overflow menu
- Improve tab spacing and internal layout
- Improve tab names for documents to correctly show the database for background documents in additional cases
- Update strings files
Diffstat (limited to 'Frameworks/PSMTabBar/PSMTabBarControl.m')
-rw-r--r-- | Frameworks/PSMTabBar/PSMTabBarControl.m | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Frameworks/PSMTabBar/PSMTabBarControl.m b/Frameworks/PSMTabBar/PSMTabBarControl.m index 3650fc93..1023444d 100644 --- a/Frameworks/PSMTabBar/PSMTabBarControl.m +++ b/Frameworks/PSMTabBar/PSMTabBarControl.m @@ -141,7 +141,7 @@ _cellMaxWidth = 280; _cellOptimumWidth = 130; _tearOffStyle = PSMTabBarTearOffAlphaWindow; - style = [[PSMMetalTabStyle alloc] init]; + style = [[PSMSequelProTabStyle alloc] init]; // the overflow button/menu NSRect overflowButtonRect = NSMakeRect([self frame].size.width - [style rightMarginForTabBarControl] + 1, 0, [style rightMarginForTabBarControl] - 1, [self frame].size.height); @@ -369,9 +369,6 @@ { id <PSMTabStyle> newStyle; - // Hardcode style to Metal - name = @"Metal"; - if ([name isEqualToString:@"Aqua"]) { //newStyle = [[PSMAquaTabStyle alloc] init]; @@ -385,13 +382,13 @@ //newStyle = [[PSMCardTabStyle alloc] init]; } else if ([name isEqualToString:@"Metal"]) { - newStyle = [[PSMMetalTabStyle alloc] init]; + //newStyle = [[PSMMetalTabStyle alloc] init]; } else if ([name isEqualToString:@"SequelPro"]) { newStyle = [[PSMSequelProTabStyle alloc] init]; } else { - newStyle = [[PSMMetalTabStyle alloc] init]; + newStyle = [[PSMSequelProTabStyle alloc] init]; } [self setStyle:newStyle]; |