Re: auto layout in a box
Re: auto layout in a box
- Subject: Re: auto layout in a box
- From: Roland King <email@hidden>
- Date: Fri, 27 Nov 2015 16:06:29 +0800
> On 27 Nov 2015, at 14:29, Jerry Krinock <email@hidden> wrote:
>
> If Xcode complains about not having a constraint that I don’t want to give it and/or I don’t think it needs, I give it the constraint that it wants, then inspect that *constraint* in the Attributes Inspector and switch on the checkbox “Placeholder … Remove at Build Time”.
>
> I don’t know if that is correct, but it usually works for me.
>
> Digressing a little,
>
>> On 2015 Nov 26, at 19:44, Gerriet M. Denkmann <email@hidden> wrote:
>>
>> “Need constraints for: Y position or height”
>
> There are two ways to interpret that:
>
> • You can give it *either* Y position or height and the issue will be solved.
> • Xcode is not smart enough to know whether it needs Y position or height, or maybe both.
>
> Does anyone know which interpretation is correct?
>
In this case neither I think, Xcode just appears confused. The box interposes a view between itself and the contents and it seems quite easy to constrain yourself to that view instead of the box itself, when you do that the constrain errors and warning make no sense to me at all.
_______________________________________________
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