• 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
Re: Yet another autolayout question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Yet another autolayout question (From: Dragan Milić <email@hidden>)
 >Re: Yet another autolayout question (From: Ken Thomases <email@hidden>)
 >Re: Yet another autolayout question (From: Dragan Milić <email@hidden>)
 >Re: Yet another autolayout question (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Yet another autolayout question
  • Next by Date: Full Screen and weird grey bar
  • Previous by thread: Re: Yet another autolayout question
  • Next by thread: Changing tabs with UISearchController displayed seems to hose things
  • Index(es):
    • Date
    • Thread