Permalink
Browse files

upping the default width

  • Loading branch information...
1 parent 49f8bcf commit 822d8fb0e5d0be16f7a710745dda492a1abf0915 @markhuot committed Jul 13, 2011
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/sidebar/SideBarSwitching.mm
@@ -73,7 +73,13 @@ - (void)SideBarSwitching_windowDidLoad
closed = ! [flag boolValue];
[self setSidebarIsClosed:closed];
- }
+ } else {
+ int sidebarWidth = 250;
+ int documentWidth = [splitView bounds].size.width - [splitView dividerThickness] - sidebarWidth;
+ int height = [splitView bounds].size.height;
+ [[splitView drawerView] setFrameSize:NSMakeSize(sidebarWidth, height)];
+ [[splitView documentView] setFrameSize:NSMakeSize(documentWidth, height)];
+ }
[drawer close];
}

0 comments on commit 822d8fb

Please sign in to comment.