diff options
author | Max <post@wickenrode.com> | 2015-10-14 18:00:22 +0200 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-10-14 18:00:22 +0200 |
commit | 71eaebae6b68c585809582823c9b3f7b8eae53c8 (patch) | |
tree | 06f4a351d691445b276912c8f866b706e1a9faa4 /Source/SPDatabaseDocument.m | |
parent | ec60a32215bb07f5ccd9b8061a88112985acaf8b (diff) | |
download | sequelpro-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.m | 4 |
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]; |