• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSSplitViewController changes split size when changing viewcontrollers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSSplitViewController changes split size when changing viewcontrollers
      • From: Rick Mann <email@hidden>
  • Prev by Date: Popover arrow point never properly aligned
  • Next by Date: debugging AirDrop
  • Previous by thread: Popover arrow point never properly aligned
  • Next by thread: Re: NSSplitViewController changes split size when changing viewcontrollers
  • Index(es):
    • Date
    • Thread