aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTableContent.m')
-rw-r--r--Source/SPTableContent.m10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index d5ffb47c..75ab4f4a 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -2520,10 +2520,20 @@
*/
- (NSRect) viewport
{
+ NSLog(@"t %@", NSStringFromRect([[tablesListInstance valueForKeyPath:@"tablesListView"] frame]));
+ NSLog(@"c %@", NSStringFromRect([tableContentView visibleRect]));
return [tableContentView visibleRect];
}
/**
+ * Provide a getter for the table's list view width
+ */
+- (CGFloat) tablesListWidth
+{
+ return [[[[tableDocumentInstance valueForKeyPath:@"contentViewSplitter"] subviews] objectAtIndex:0] frame].size.width;
+}
+
+/**
* Provide a getter for the current filter details
*/
- (NSDictionary *) filterSettings