Re: Three Views in a Row
Re: Three Views in a Row
- Subject: Re: Three Views in a Row
- From: William LeFevre <email@hidden>
- Date: Fri, 30 Apr 2004 14:28:54 -0700
On the left view turn, on the right, outside, horizontal spring.
On the middle view, turn on the left and right, outside, horizontal
springs.
On the right view, turn on the left, outside, horizontal spring.
This will lock the left view to the right side of the window, lock the
right view to the right side window, allow the views to expand, and
prevent them from over lapping. It does not maintain the distance
between the view. As you expand the window the distance between views
will increase slightly. If you need them to maintain an exact
separation distance, you may need to do that programatically.
William
On Apr 30, 2004, at 10:56 AM, Gerriet M. Denkmann wrote:
I have a window with three CustemViews in a row.
When I put the horizontal springs inside (in IB) and resize the window
by 100 pixels, each view increases its width by 100.
I could take windowWillResize and then send messages to my 3 views;
but surely there is a more elegant way?
Probably something very obvious.
Thanks in advance.
Gerriet.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.