Re: Autolayout frustrations with NSOutlineView [SOLVED, +follow-up question]
Re: Autolayout frustrations with NSOutlineView [SOLVED, +follow-up question]
- Subject: Re: Autolayout frustrations with NSOutlineView [SOLVED, +follow-up question]
- From: Quincey Morris <email@hidden>
- Date: Wed, 30 Jul 2014 01:19:19 -0700
On Jul 30, 2014, at 00:39 , Graham Cox <email@hidden> wrote:
> it seems to simply be shifting the problem to another place, not solving it
Yeah, I suppose so.
Typically, NSClipView *not* intended to be responsible for constraining its "document view” subview in at least one direction (and possibly both). I think that means that at the very least, you’d hypothetically need to install and/or modify height or width constraints dynamically at run time to make scrolling work. That might be marginally easier than calculating the frame dynamically, but it doesn’t seem like a good use case for autolayout.
_______________________________________________
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