NSSplitViewController changes split size when changing viewcontrollers
NSSplitViewController changes split size when changing viewcontrollers
- Subject: NSSplitViewController changes split size when changing viewcontrollers
- From: Rick Mann <email@hidden>
- Date: Thu, 26 May 2016 20:07:51 -0700
In my master-detail UI, selecting something on the left side of the split changes the view controller on the right (by removing the current one and adding the new one).
Each time I do this, it resets the position of the split based on some unknown but consistent criteria (each right-side view always ends up with the same width). This width is dependent on where I dragged the divider to before I changed views.
Anyway, once the user has moved the slider, I really don't want it to change position at all, unless there's a minimum/maximum width imposed by the sub views. That is, if the constraints of the new view can be satisfied with the current split position, it should not move the split position, but instead resize subviews.
How can I get it to behave like this?
Thanks.
--
Rick Mann
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