vbox.lzx

<library>
    <include href="utils/layouts/simplelayout.lzx"/>
    <class name="vbox">
        <attribute name="spacing" value="0"/>
        <attribute name="inset" value="0"/>
        <simplelayout spacing="${parent.spacing}" inset="${parent.inset}" axis="y"/>
        <doc>
          <tag name="shortdesc"><text>A vertical box for grouping subviews</text></tag>
          <text>
            <example title="vbox">
            <canvas>
                <vbox>
                    <handler name="onclick">
                        this.animate('spacing', this.spacing == 10 ? 0 : 10, 1000);
                    </handler>
                    <text>click</text>
                    <text>to</text>
                    <text>animate</text>
                    <text>spacing</text>
                </vbox>
            </canvas>
            </example>
          </text>
        </doc>
    </class>
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
* Copyright 2005-2007 Laszlo Systems, Inc.  All Rights Reserved.              *
* Use is subject to license terms.                                            *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@                                                         -->

Cross References

Includes

Classes