Vbox"
From Documentation
Jumperchen (talk | contribs) (fixed typo) |
|||
Line 10: | Line 10: | ||
The vbox component is used to create a vertically oriented box. Added components will be placed underneath each other in a column. | The vbox component is used to create a vertically oriented box. Added components will be placed underneath each other in a column. | ||
+ | |||
+ | Notice that hbox and vbox are designed to provode more sophisticated layout, such as splitter, alignment and packing. If you need only the layout feature, it is suggest to use [[ZK Component Reference/Layouts/Hlayout]] and [[ZK Component Reference/Layouts/Vlayout]] instead, since the performance is much better (due to the use of HTML DIV instead of TABLE). | ||
= Example = | = Example = |
Revision as of 06:17, 31 August 2010
Vbox
Employment/Purpose
The vbox component is used to create a vertically oriented box. Added components will be placed underneath each other in a column.
Notice that hbox and vbox are designed to provode more sophisticated layout, such as splitter, alignment and packing. If you need only the layout feature, it is suggest to use ZK Component Reference/Layouts/Hlayout and ZK Component Reference/Layouts/Vlayout instead, since the performance is much better (due to the use of HTML DIV instead of TABLE).
Example
<zk>
<vbox>
<button label="Button 1"/>
<button label="Button 2"/>
</vbox>
<hbox>
<button label="Button 3"/>
<button label="Button 4"/>
</hbox>
</zk>
Supported events
None | None |
Supported Children
*ALL
Use cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|