From 436f6cb8ea564cb64af786bc1c492d533cee5418 Mon Sep 17 00:00:00 2001 From: Derek Hammer Date: Sun, 30 Jan 2011 13:01:44 -0600 Subject: [PATCH] Fixing uniform column resize spacing issue. --- AppKit/CPTableView.j | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AppKit/CPTableView.j b/AppKit/CPTableView.j index 744284bdc..6eaf41c47 100644 --- a/AppKit/CPTableView.j +++ b/AppKit/CPTableView.j @@ -1561,8 +1561,9 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5; UPDATE_COLUMN_RANGES_IF_NECESSARY(); var range = _tableColumnRanges[aColumnIndex]; + var spacing = _intercellSpacing.width || 1; - return _CGRectMake(range.location, 0.0, range.length, _CGRectGetHeight([self bounds])); + return _CGRectMake(range.location + spacing, 0.0, range.length - (2 * spacing), _CGRectGetHeight([self bounds])); } // Complexity: