[SOLVED] Re: Forcing NSSplitView to constrain position?
[SOLVED] Re: Forcing NSSplitView to constrain position?
- Subject: [SOLVED] Re: Forcing NSSplitView to constrain position?
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 24 Jun 2004 12:41:13 -0600
On Jun 24, 2004, at 2:00 AM, Andreas Mayer wrote:
I'm controlling a split view with these delegate methods:
- (void)splitView:(NSSplitView *)sender
resizeSubviewsWithOldSize:(NSSize)oldSize
- (float)splitView:(NSSplitView *)sender
constrainMaxCoordinate:(float)proposedMax ofSubviewAt:(int)offset
Danke Andreas. I ended up solving this problem by implementing the
-splitView:resizeSubviewsWithOldSize: method, calling -adjustSubviews,
and then setting the frame height of one of the subviews to a fixed
height number. That, combined with the constraint delegate method,
solved the problem...
Nick Zitzmann
<
http://www.chronosnet.com/>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.