So I believe Pascal is looking for information as to handle geometry management on resizing.
http://lessons.runrev.com/s/lessons/m/4 ... ry-manager
In the revresourcecentre.rev stack there is also a card called TheGeometryManager that is not normally reachable, but you can turn on the option to show "LiveCode UI Elements in Lists" and use the application browser to open it.
Which is a whole can of worms.
The Geometry Manager that's built into the IDE is, generally speaking, not very well respected. It also would not reflow the field size to shorten in height as the width increases, or expand downwards as the width decreases. It would be necessary to handle the resizeStack message to "roll your own" for this. Very simply, you could start with something like:
Code: Select all
on resizeStack
set the topleft of field "fldReflow" to 40,60
set the width of field "fldReflow" to the width of this stack - 80
set the height of field "fldReflow" to max(80,the formattedHeight of field "fldReflow")
end resizeStack