Group resize to fit contents
david.bovill at gmail.com
Sun Jan 11 19:12:39 EST 2009
Thanks Sarah - will see if this matches Revs behaviour!
2009/1/11 Sarah Reichelt <sarah.reichelt at gmail.com>
> On Sun, Jan 11, 2009 at 10:37 AM, David Bovill <david at architex.tv> wrote:
> > I have a script that changes the locklocation of a group to false and I
> > it to "refresh" the display so that the groups border resizes to fit the
> > contents of the group (as it does when you manually move a control) -
> > figure - anyone know?
> What about:
> set the height of group x to the formattedHeight of group x
> set the width of group x to the formattedWidth of group x
> Depending on how you want it resized, you might have to store the
> topLeft before resizing, then re-apply it.
More information about the Use-livecode