Re: Split view priority
Re: Split view priority
- Subject: Re: Split view priority
- From: Quincey Morris <email@hidden>
- Date: Fri, 22 Apr 2016 19:09:59 -0700
- Feedback-id: 167118m:167118agrif8a:167118sJUC6Xh8Mo:SMTPCORP
On Apr 22, 2016, at 18:56 , Ken Thomases <email@hidden> wrote:
>
> First, the split view holding priorities should generally be less than 490. That's NSLayoutPriorityDragThatCannotResizeWindow. If they are greater than that, then they'll potentially override the window's size.
Sorry, I misspoke, or rather misremembered. The holding priorities are 251 and 250.
> After that, what is the design-time size of the left split view and the window? You should set them to the default configuration. The window will stay that way so long as there are no constraints of priority 500 (NSLayoutPriorityWindowSizeStayPut) or greater that force it to another size (or the user resizes it manually, of course).
At design time, they are 300 and 1000, as for the default configuration, but the window doesn’t stay that way.
I think I’ll try to recreate this in a test project that I can post. The real thing makes it too hard to be certain what I’ve changed and what I haven’t.
_______________________________________________
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