aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-10-06 18:11:21 +0000
committerstuconnolly <stuart02@gmail.com>2012-10-06 18:11:21 +0000
commit5ba15375e34fdaad4a2e04555b6e4eb089d06166 (patch)
treed2f596e6093b46bc84443d4342c3664e8d9688d2
parentecb5c70566d1303288e4faf170bda40672a799e1 (diff)
downloadsequelpro-5ba15375e34fdaad4a2e04555b6e4eb089d06166.tar.gz
sequelpro-5ba15375e34fdaad4a2e04555b6e4eb089d06166.tar.bz2
sequelpro-5ba15375e34fdaad4a2e04555b6e4eb089d06166.zip
Constrain the minimum size of the connectiion view split view so we don't wrap the quick connect header and hide buttons.
-rw-r--r--Source/SPConnectionControllerDelegate.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPConnectionControllerDelegate.m b/Source/SPConnectionControllerDelegate.m
index e18c43ab..28963c8f 100644
--- a/Source/SPConnectionControllerDelegate.m
+++ b/Source/SPConnectionControllerDelegate.m
@@ -84,6 +84,11 @@ static NSString *SPQuickConnectImageWhite = @"quick-connect-icon-white.pdf";
}
}
+- (CGFloat)splitView:(NSSplitView *)splitView constrainMinCoordinate:(CGFloat)proposedMax ofSubviewAt:(NSInteger)dividerIndex
+{
+ return 120.0;
+}
+
#endif
#pragma mark -