Re: Horizontal SplitView Resize Question
Re: Horizontal SplitView Resize Question
- Subject: Re: Horizontal SplitView Resize Question
- From: chaitanya pandit <email@hidden>
- Date: Fri, 26 Sep 2008 00:20:49 +0530
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 (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden