Permalink
Browse files

updated to leave some space

  • Loading branch information...
1 parent 266c3da commit 5051295d6707df06945cdd68ee77c6f73494ac08 @markhuot committed Jun 2, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/MHOpenFiles.m
View
6 src/MHOpenFiles.m
@@ -134,14 +134,14 @@ - (void)resizeViews
NSView *openFilesCustomView = (NSView *)[[outlineView superview] superview];
NSView *drawerView = [openFilesCustomView superview];
float y = [drawerView frame].size.height - neededHeight;
-
float w = [openFilesCustomView frame].size.width;
[[openFilesCustomView animator] setFrame:NSMakeRect(0.0, y, w, neededHeight)];
- [[[[fileBrowserView superview] superview] animator] setFrameSize:NSMakeSize(w, [drawerView frame].size.height - neededHeight)];
+ //[[[[fileBrowserView superview] superview] animator] setFrameSize:NSMakeSize(w, [drawerView frame].size.height - neededHeight - 2.0)];
+ [[[[fileBrowserView superview] superview] animator] setFrame:NSMakeRect(0, 20, w, [drawerView frame].size.height - neededHeight - 20.0 - 2.0)];
- [[dividerView animator] setFrameOrigin:NSMakePoint(0, [drawerView frame].size.height - neededHeight)];
+ [[dividerView animator] setFrameOrigin:NSMakePoint(0, [drawerView frame].size.height - neededHeight - 2.0)];
}
- (void)dealloc

0 comments on commit 5051295

Please sign in to comment.