Resizing groups AND their contents

Jan Schenkel janschenkel at yahoo.com
Fri Aug 8 08:46:00 EDT 2003


--- Jim Witte <jswitte at bloomington.in.us> wrote:
> Hi,
> 
>    I've got 3 fields which I've grouped together
> (using the group button 
> on the toolbar).  If I drag one of the resize
> handles of the resulting 
> object, it appears that the group resizes, but the
> fields inside do 
> not, resulting in some of the 'field space' being
> hidden as the 'group 
> view' clips it.  Does Rev/Metacard currently have a
> way to prevent 
> this, and to scale a group and the positions of the
> objects within it 
> at the same time, like the 'springs' in IB do?
> 
> Jim
> 

Hi Jim,

This sounds like a job for the Geometry Manager -- so
take your Inspector Palette for a ride and go to the
"Geometry" panel :-)
You can scale the three fields relative to another
object (in this case, the group they reside in). So if
you have three fields, one above the other, and want
to resize these horizontally, link their right edges
to the enclosing group.
(Make sure you have a full red bar, not a sinus wave,
or otherwise it will resize in terms of percentages,
not absolute distances from the edge)

Unfortunately, you can't scale and reposition at the
same time. So if you were planning on putting the
three fields next to one another and thinking you
could widen them automatically such that the fields
grow, equally distributing the available space, you're
out of luck.
At any rate, do the Geometery Managger tutorial and
you should have an idea of how this puppy operates.

Hope this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the use-livecode mailing list