Livecode Wiki
Register
Advertisement

The geometry panel permits you to change of various aspect of resizing.

Geometry2

The first behavior to select is: scaled or moved. You can mix them.

Then there is a linking are image that you can click gray bars to select different aspects.

When a gray bar turns red, it's an absolutely link. That border will be always at the same amount of pixels from the next object/border.

When a gray bar turns red and white, it's an percentage link. That border will be always at the same percentage of pixels from the next object/border.

If item contains text, you can activate prevent clip text, without further option, minimum size is preserved; otherwise you may choose to add a scrollbar, vertical, horizontal or both.

You can also specify a limit for size, minimum or maximum.

Tip: You can use the Geometry Manager to scale objects with a "divider" bar. Create and script the bar to move, then link the edges of the controls to it, then call revUpdateGeometry each time it moves to have the objects scale automatically.

Advertisement