aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPTableContent.h3
-rw-r--r--Source/SPTableContent.m5
2 files changed, 8 insertions, 0 deletions
diff --git a/Source/SPTableContent.h b/Source/SPTableContent.h
index ab62b87f..131b4313 100644
--- a/Source/SPTableContent.h
+++ b/Source/SPTableContent.h
@@ -112,6 +112,9 @@
IBOutlet NSButton *filterTableSearchAllFields;
IBOutlet NSPanel *filterTableSetDefaultOperatorSheet;
IBOutlet NSComboBox* filterTableSetDefaultOperatorValue;
+
+ // Temporary to avoid nib conflicts during WIP
+ IBOutlet SPSplitView *contentSplitView;
#endif
SPMySQLConnection *mySQLConnection;
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];