Hbox"

From Documentation
Line 10: Line 10:
  
 
The hbox component is used to create a horizontally oriented box. Each component placed in the hbox will be placed horizontally in a row.
 
The hbox component is used to create a horizontally oriented box. Each component placed in the hbox will be placed horizontally in a row.
 +
 +
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:15, 31 August 2010

Hbox

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

Employment/Purpose

The hbox component is used to create a horizontally oriented box. Each component placed in the hbox will be placed horizontally in a row.

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 Hbox Simple Examples.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.