Name

vbox — A vertical box for grouping subviews

Synopsis

LZX: vbox
JavaScript: vbox
Type: Class
Access: public
Topic: Components.Base Components
Declared in: lps/components/base/vbox.lzx

Description

Example 37. 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>
            

Superclass Chain

node (LzNode) » view (LzView) » vbox

Known Subclasses

Details

Properties (2)

inset
<attribute name="inset" value="0" />
public var inset;
spacing
<attribute name="spacing" value="0" />
public var spacing;

LZX Synopsis

<class name="vbox" extends=" LzView ">
  <attribute name=" inset " value="0" />
  <attribute name=" spacing " value="0" />
</class>

JavaScript Synopsis

public vbox extends  LzView  {
  public var inset ;
  public var spacing ;
}