Re: Xcode 7.3.1: Auto Layout drives me crazy
Re: Xcode 7.3.1: Auto Layout drives me crazy
- Subject: Re: Xcode 7.3.1: Auto Layout drives me crazy
- From: Quincey Morris <email@hidden>
- Date: Wed, 18 May 2016 13:29:10 -0700
- Feedback-id: 167118m:167118agrif8a:167118sluwgjTZ1e:SMTPCORP
On May 18, 2016, at 10:54 , Ulf Dunkel <email@hidden> wrote:
How can I debug Auto Layout issues when the Assistant Editor's Preview shows that everything seems to be fine?
You might try using the graphical view debugger to look at your view hierarchy in “3D”. It sounds like a view higher up isn’t resizing when it should.
The other issue to consider is priorities. If the text trailing constraints are lower priority than something else, they may be being silently ignored.
Also, if these are IB “Label” elements, it sounds like you want them to wrap to multiple lines when the view is narrow. I think I had trouble with this for text fields placed initially as Label, and it went better using Multi-line Label. (Presumably there’s some wrapping mode that comes auto-configured in the latter case, but it wasn’t obvious to me what it was.) |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden