Re: layout question
Re: layout question
- Subject: Re: layout question
- From: Christiaan Hofman <email@hidden>
- Date: Sun, 03 Apr 2011 12:16:41 +0200
On Apr 3, 2011, at 10:17, Quincey Morris wrote:
> On Apr 3, 2011, at 00:51, Andy Lee wrote:
>
>> Rather than try to figure out the answer in my head, which is what got me into trouble in the first place, here's a nib that does the trick.
>
> Well, yes, I'd already got as far as building a file a lot like that for myself. :)
>
> I was pointing out, though, that this only works if the enclosing custom views are themselves enclosed in a container (the content view, in your example) that they span from (the container's) left edge to right edge. Here's an example of what goes wrong if they don't.
>
>
>
> <Symmetry2.xib.zip>
In that case you simply embed everything inside another big view that exactly contains the two views.
However, can we be sure that this trick works? Wouldn't rounding errors slowly mess things up, one pixel at a time?
Christiaan
_______________________________________________
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