I'm not sure but you can try limiting the min and max coordinate using:
- (CGFloat)splitView:(NSSplitView *)sender constrainMaxCoordinate: (CGFloat)proposedMax ofSubviewAt:(NSInteger)offset - (CGFloat)splitView:(NSSplitView *)sender constrainMinCoordinate: (CGFloat)proposedMin ofSubviewAt:(NSInteger)offset

On 25-Sep-08, at 1:06 PM, Steve Cronin wrote:

Folks;

I have a horizontal split bar inside of a resizable view -the parent view grows both horizontally and vertically. The standard behavior for horizontal split views appears to be that the the bottom view is grown or shrunk. (In my testing this is true regardless of the resize attributes of the enclosed bottom view)
I have ALL of the resize widgets set ON for this splitView.

What I would like is the divider to stay fixed at its current height from the bottom throughout a resize and the top view to grow or shrink. Is there a setting I am overlooking or is the way to accomplish this by overriding -splitViewDidResizeSubviews?

Thanks,
Steve
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/chaitanya%40expersis.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to