aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2013-11-10 23:08:52 +0000
committerrowanbeentje <rowan@beent.je>2013-11-10 23:08:52 +0000
commit7ae31e80623186465fa94e8e517fe0d56b32477f (patch)
tree7299be271ea57dd72af5ec4ce3a43e4b0e73219d /Source/SPTableContent.m
parentaad0b2000b15891b855ad69f02e2dc12d660ca86 (diff)
downloadsequelpro-7ae31e80623186465fa94e8e517fe0d56b32477f.tar.gz
sequelpro-7ae31e80623186465fa94e8e517fe0d56b32477f.tar.bz2
sequelpro-7ae31e80623186465fa94e8e517fe0d56b32477f.zip
Add the XIB support for Multiple Table Content Filters (Issue #63). The required code is not committed yet, but committing the updated DBView.xib now avoids future xib conflicts while the code is completed.
Diffstat (limited to 'Source/SPTableContent.m')
-rw-r--r--Source/SPTableContent.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index fa7b9a2c..17efd5ae 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -215,6 +215,11 @@ static NSString *SPTableFilterSetDefaultOperator = @"SPTableFilterSetDefaultOper
_mainNibLoaded = YES;
#ifndef SP_CODA /* ui manipulation */
+ // Temporary to avoid nib conflicts during WIP
+ [contentSplitView setCollapsibleSubviewIndex:0];
+ [contentSplitView setCollapsibleSubviewCollapsed:YES animate:NO];
+ [contentSplitView setMaxSize:0.f ofSubviewAtIndex:0];
+
// Set the table content view's vertical gridlines if required
[tableContentView setGridStyleMask:([prefs boolForKey:SPDisplayTableViewVerticalGridlines]) ? NSTableViewSolidVerticalGridLineMask : NSTableViewGridNone];
[filterTableView setGridStyleMask:([prefs boolForKey:SPDisplayTableViewVerticalGridlines]) ? NSTableViewSolidVerticalGridLineMask : NSTableViewGridNone];