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 protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to