Re: Yet another autolayout question
Re: Yet another autolayout question
- Subject: Re: Yet another autolayout question
- From: Dragan Milić <email@hidden>
- Date: Fri, 13 Nov 2015 13:02:37 +0100
- X_v_e_cd: 33f245332169c97976b95fb06cc947f5
- X_v_r_cd: dfea3f1450c2e1e5b246903c9322216d
On pet 13.11.2015., at 11.00, Ken Thomases wrote:
> Hmm. Oh well.
>
> Your screencast of the failing case shows that you have some additional views (boxes, it looks like) in the hierarchy, and you haven't explained fully the constraints involved.
Just to put some light onto this… I’ve just discovered everything works perfectly fine and as expected if I replace that instance of (subclassed) AVPlayerView with a simple custom NSView subclass (which just fills itself with a single colour) that implements intrinsicContentSize property. So, I suppose the culprit here is not my constraints, but those within the AVPlayerView, which apparently limits its size and breaks hugging and compression resistance properties.
-- Dragan
_______________________________________________
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