<hbox>
A horizontal box

JavaScript: lz.hbox
extends <view> » <node> » lz.Eventable »

The <hbox> provides a convenient way to organize a simple horizontal layout.

Example 44. hbox

<canvas height="30">
                <hbox spacing="10">
                    <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>
                </hbox>
            </canvas>


Attributes

Name (CSS property) Type (tag) Type (js) Default Category
inset expression any 0 read/write
   
spacing expression any 0 read/write
   

Methods

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy