[Laszlo-user] Making parent width to match that of the subviews

Adam Wolff adam at laszlosystems.com
Mon Apr 3 12:18:41 EDT 2006

check out the measureWidth routine on view. there's no way to use that in 
a constraint though.

On Apr 3, Robin wrote:

> I have a view that contains a number of other views, expanding out sideways
> based on data replication. What I'd like to do is make the width of the parent
> change itself to be the width that will enclose all those subviews, such that
> constraints that lay other components out based on the width of this one end
> up correct.
> How can I do this?
> Cheers, Robin.
> _______________________________________________
> Laszlo-user mailing list
> Laszlo-user at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user

More information about the Laszlo-user mailing list