From 9faec8decdc586df95d19e519d307fc0b4fc6fbd Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Tue, 17 Nov 2009 16:39:56 -0300 Subject: [PATCH] Fixed: calling setIsPaneSplitter: on a CPTableView would change the divider width but the subviews would not change size to match. --- AppKit/CPSplitView.j | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AppKit/CPSplitView.j b/AppKit/CPSplitView.j index 0540bd560..8022dad0e 100644 --- a/AppKit/CPSplitView.j +++ b/AppKit/CPSplitView.j @@ -151,6 +151,9 @@ var CPSplitViewHorizontalImage = nil, _DOMDividerElements = []; #endif + // The divider changes size when pane splitter mode is toggled, so the + // subviews need to change size too. + _needsResizeSubviews = YES; [self setNeedsDisplay:YES]; }