Forcing NSSplitView to constrain position?
Forcing NSSplitView to constrain position?
- Subject: Forcing NSSplitView to constrain position?
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 23 Jun 2004 17:24:57 -0600
I checked the archives and didn't see an answer to my question...
I have an NSSplitView. The split view has a delegate object that sets a
constraint on the size of the split view by implementing NSSplitView's
-splitView:constrainSplitPosition:obSubviewAt: delegate method. I want
the split view to be constrained to a very specific position. But the
delegate method that returns the constraint is never called unless the
user clicks on the split view divider, and so far the only method I've
found of getting the constraint to take effect is to click on that
divider.
Is there any way to force the split view to comply with its constraint
programmatically, and if there is, how do I do it? I already tried
calling -adjustSubviews and nothing happened. The constraint also seems
to be ignored when the split view is resized.
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.