Re: I can't get the stretching to work properly
Re: I can't get the stretching to work properly
- Subject: Re: I can't get the stretching to work properly
- From: Matt Neuburg <email@hidden>
- Date: Mon, 24 Jan 2005 11:09:32 -0800
On Fri, 21 Jan 2005 12:46:52 -0700, "Brian O'Brien" <email@hidden>
said:
>I have a window with four objects in it, object x, a, b and c
>
>
>xxxxxxxxx aaa
>xxxxxxxxx aaa
>xxxxxxxxx aaa
>xxxxxxxxx bbb
>xxxxxxxxx bbb
>xxxxxxxxx bbb
>xxxxxxxxx ccc
>xxxxxxxxx ccc
>xxxxxxxxx ccc
>
>I need the objects to remain square.
>When I expand the window all the object should grow together and not
>overlap each other.
>
>I think I need a frame around objects a, b and c but I don't see where
>I can create one with
>the interface builder.
To make the "frame", select object a, b, and c and say Layout > Make
Subviews Of > Custom View.
However, there is probably no need for this. To get the behavior you are
asking for, set up the springs and struts as follows:
x: internal springs, spring at the right
a: internal springs, spring at the left and bottom
b: internal springs, spring at left, top and bottom
c: internal sprints, spring at the left and top
If you do use the "frame", then it would have internal springs and spring to
the left, and a, b, and c would have struts, not springs, to their left. m.
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
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
- Follow-Ups:
- CTreeView
- From: "Brian O'Brien" <email@hidden>