diff options
author | stuconnolly <stuart02@gmail.com> | 2009-03-04 23:45:50 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-03-04 23:45:50 +0000 |
commit | 04f87a1710d1379589c7e4d7e84cfbb9908ae468 (patch) | |
tree | a052f18518abbc59faf735efb2e9054b015ee0f4 /Source | |
parent | b267968964adb3402b38df683debee16c6c310d1 (diff) | |
download | sequelpro-04f87a1710d1379589c7e4d7e84cfbb9908ae468.tar.gz sequelpro-04f87a1710d1379589c7e4d7e84cfbb9908ae468.tar.bz2 sequelpro-04f87a1710d1379589c7e4d7e84cfbb9908ae468.zip |
Don't allow the table list to be completely out of sight by not allowing the collapsing of the split view's subview. Minimum subvew view width has also been reduced by 20px. Fixes issue #150.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/TableDocument.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 6957ae4d..a42c5d73 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -1537,7 +1537,7 @@ NSString *TableDocumentFavoritesControllerFavoritesDidChange = @"TableDocumentFa */ - (BOOL)splitView:(NSSplitView *)sender canCollapseSubview:(NSView *)subview { - return YES; + return NO; } /** @@ -1553,7 +1553,7 @@ NSString *TableDocumentFavoritesControllerFavoritesDidChange = @"TableDocumentFa */ - (float)splitView:(NSSplitView *)sender constrainMinCoordinate:(float)proposedMin ofSubviewAt:(int)offset { - return proposedMin + 160; + return proposedMin + 140; } - (void)splitViewDidResizeSubviews:(NSNotification *)notification |