On Wednesday 13 December 2006 18:54, Allen Young wrote: > can find out the longest widget and set all widgets' width to it. But if I > change the fontsize or fontstyle, or even change the <text/> content > itself. I have to recompute the layout again. Is there an easy way to > implement something like a Swing-GridLayout? The layouts that come with Laszlo tend to be pretty simple, it might pay to look into writing your own. It's not hard to do. Then you can add a delegate to watch for changes in the width of things that you're interested in, and update the layout or widths of other things accordingly.
Robin.
