Merge pull request #1469 from tfc/cappuccino

---

This regards CPSplitViews new delegate method
- (BOOL)splitView: (CPSplitView)aSplitView shouldAdjustSizeOfSubview: (CPView)aSubView
which was introduced in b27a3cdbe5 by Alexander Ljungberg.
This commit is contained in:
Alexander Ljungberg committed 2012-03-01 10:44:51 +00:00
commit ad0fd0a34e
1 file changed
+5
+5
View File
@@ -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