@@ -4937,64 +4937,6 @@ - (NSString *)tableView:(NSTableView *)tableView toolTipForCell:(id)aCell rect:(
4937
4937
}
4938
4938
#endif
4939
4939
4940
- #ifndef SP_CODA /* SplitView delegate methods */
4941
-
4942
- #pragma mark -
4943
- #pragma mark SplitView delegate methods
4944
-
4945
- - (BOOL )splitView:(NSSplitView *)sender canCollapseSubview:(NSView *)subview
4946
- {
4947
- return NO ;
4948
- }
4949
-
4950
- /* *
4951
- * Set a minimum size for the filter text area.
4952
- */
4953
- - (CGFloat)splitView:(NSSplitView *)sender constrainMaxCoordinate:(CGFloat)proposedMax ofSubviewAt:(NSInteger )offset
4954
- {
4955
- return proposedMax - 180 ;
4956
- }
4957
-
4958
- /* *
4959
- * Set a minimum size for the field list and action area.
4960
- */
4961
- - (CGFloat)splitView:(NSSplitView *)sender constrainMinCoordinate:(CGFloat)proposedMin ofSubviewAt:(NSInteger )offset
4962
- {
4963
- return proposedMin + 225 ;
4964
- }
4965
-
4966
- /* *
4967
- * Improve default resizing and resize only the filter text area by default.
4968
- */
4969
- - (void )splitView:(NSSplitView *)sender resizeSubviewsWithOldSize:(NSSize )oldSize
4970
- {
4971
- NSSize newSize = [sender frame ].size ;
4972
- NSView *leftView = [[sender subviews ] objectAtIndex: 0 ];
4973
- NSView *rightView = [[sender subviews ] objectAtIndex: 1 ];
4974
- float dividerThickness = [sender dividerThickness ];
4975
- NSRect leftFrame = [leftView frame ];
4976
- NSRect rightFrame = [rightView frame ];
4977
-
4978
- // Resize height of both views
4979
- leftFrame.size .height = newSize.height ;
4980
- rightFrame.size .height = newSize.height ;
4981
-
4982
- // Only resize the right view's width - unless the constraint has been reached
4983
- if (rightFrame.size .width > 180 || newSize.width > oldSize.width ) {
4984
- rightFrame.size .width = newSize.width - leftFrame.size .width - dividerThickness;
4985
- }
4986
- else {
4987
- leftFrame.size .width = newSize.width - rightFrame.size .width - dividerThickness;
4988
- }
4989
-
4990
- rightFrame.origin .x = leftFrame.size .width + dividerThickness;
4991
-
4992
- [leftView setFrame: leftFrame];
4993
- [rightView setFrame: rightFrame];
4994
- }
4995
-
4996
- #endif
4997
-
4998
4940
#pragma mark -
4999
4941
#pragma mark Control delegate methods
5000
4942
0 commit comments