aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-10-14 18:00:22 +0200
committerMax <post@wickenrode.com>2015-10-14 18:00:22 +0200
commit71eaebae6b68c585809582823c9b3f7b8eae53c8 (patch)
tree06f4a351d691445b276912c8f866b706e1a9faa4 /Source/SPDatabaseDocument.m
parentec60a32215bb07f5ccd9b8061a88112985acaf8b (diff)
downloadsequelpro-71eaebae6b68c585809582823c9b3f7b8eae53c8.tar.gz
sequelpro-71eaebae6b68c585809582823c9b3f7b8eae53c8.tar.bz2
sequelpro-71eaebae6b68c585809582823c9b3f7b8eae53c8.zip
Constrain the Table Info Comment/Create split view so that neither side can be completely hidden (fixes #2285)
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r--Source/SPDatabaseDocument.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m
index 23d4a529..464325d4 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -302,6 +302,10 @@ static int64_t SPDatabaseDocumentInstanceCounter = 0;
// Set collapsible behaviour on the table list so collapsing behaviour handles resize issus
[contentViewSplitter setCollapsibleSubviewIndex:0];
+
+ // Set a minimum size on both text views on the table info page
+ [tableInfoSplitView setMinSize:20 ofSubviewAtIndex:0];
+ [tableInfoSplitView setMinSize:20 ofSubviewAtIndex:1];
// Set up the connection controller
connectionController = [[SPConnectionController alloc] initWithDocument:self];