Vbox"

From Documentation
(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

  • Demonstration: N/A
  • Java API: Vbox
  • JavaScript API: Box

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

ZKComRef Vbox Simple Example.PNG

<zk>
     <vbox>
         <button label="Button 1"/>
         <button label="Button 2"/>
     </vbox>
     <hbox>
         <button label="Button 3"/>
         <button label="Button 4"/>
     </hbox>
</zk>

Supported events

Name
Event Type
None None

Supported Children

*ALL

Use cases

Version Description Example Location
     

Version History

Version Date Content
     



Last Update : 2010/08/31

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.