From 1d8092e431ba52f30adaeb97fa195cfe490513da Mon Sep 17 00:00:00 2001 From: Jacek Galowicz Date: Thu, 1 Mar 2012 08:46:06 +0100 Subject: [PATCH] Added a documentation line for CPSplitView. This regards CPSplitView's new delegate method - (BOOL)splitView: (CPSplitView)aSplitView shouldAdjustSizeOfSubview: (CPView)aSubView which was introduced in b27a3cdbe567573b74ac2bc58f60c30a2b9ff7e4 by Alexander Ljungberg. --- AppKit/CPSplitView.j | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AppKit/CPSplitView.j b/AppKit/CPSplitView.j index 6079af7a8..ec1401850 100644 --- a/AppKit/CPSplitView.j +++ b/AppKit/CPSplitView.j @@ -885,6 +885,11 @@ Notifies the delegate when the subviews will be resized. Lets the delegate specify a different rect for which the user can drag the splitView divider. @code +- (BOOL)splitView: (CPSplitView)aSplitView shouldAdjustSizeOfSubview: (CPView)aSubView +@endcode + +Allows the delegate to specify which of the CPSplitView's subviews should adjust if the window is resized. +@code - (CGRect)splitView:(CPSplitView)aSplitView effectiveRect:(CGRect)aRect forDrawnRect:(CGRect)aDrawnRect ofDividerAtIndex:(int)aDividerIndex; @endcode