From 04f87a1710d1379589c7e4d7e84cfbb9908ae468 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Wed, 4 Mar 2009 23:45:50 +0000 Subject: 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. --- Source/TableDocument.m | 4 ++-- 1 file 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 -- cgit v1.2.3