Browse files

updated to better position the divider

  • Loading branch information...
1 parent 5051295 commit b9cdfcb3b50c4abcebb5f973a1d33a3bac6aa0de @markhuot committed Jun 6, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ProjectTree.mm
View
4 src/ProjectTree.mm
@@ -134,8 +134,8 @@ - (void)ProjectTree_windowDidLoad
// Add the divider
//
//
- NSView *dividerView = [[MHDividerView alloc] initWithFrame:NSMakeRect(0, 0, [drawer frame].size.width, 2.0)];
- [dividerView setAutoresizingMask:NSViewWidthSizable];
+ NSView *dividerView = [[MHDividerView alloc] initWithFrame:NSMakeRect(-[drawer frame].size.width, 0, [drawer frame].size.width, 2.0)];
+ [dividerView setAutoresizingMask:NSViewWidthSizable|NSViewMinYMargin];
[drawer addSubview:dividerView];
// Let our class know where the divider is so it can be moved around as the

0 comments on commit b9cdfcb

Please sign in to comment.