Re: Forcing NSSplitView to constrain position?
Re: Forcing NSSplitView to constrain position?
- Subject: Re: Forcing NSSplitView to constrain position?
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 24 Jun 2004 17:03:14 +0200
On Jun 24, 2004, at 4:45 PM, Mike Ferris wrote:
Unfortunately NSSplitView does not deal with constraints very well. As
has been noted, when the split view itself changes size (because of
window resizing or nested splits, or whatever) the constraints won't be
consulted. By taking over splitView:resizeSubviewsWithOldSize: it is
possible to at least partially overcome this first problem. Also,
NSSplitView provides no API for programmatically moving the splits
(besides making carefully synchronized changes to the actual frames of
the subviews).
The biggest issue I've seen when doing this (moving the split with
code) is a refresh issue.
One has to ask for the update of the splitview and the view within it
IIRC.
_______________________________________________
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.