/* Hbox.java

	Purpose:
		
	Description:
		
	History:
		Mon Jun 20 22:16:42     2005, Created by tomyeh

Copyright (C) 2005 Potix Corporation. All Rights Reserved.

{{IS_RIGHT
	This program is distributed under LGPL Version 2.1 in the hope that
	it will be useful, but WITHOUT ANY WARRANTY.
}}IS_RIGHT
*/
package org.zkoss.zul;

import org.zkoss.zk.ui.Component;

/**
 * A hbox.
 * <p>Default {@link #getZclass}: z-hbox.(since 3.5.0)
 * 
 * Note: when use {@link #setHflex(String)} or {@link #setVflex(String)} in some
 * cases, it will not work well, because the hbox is made by HTML Table element,
 * which will increase its size according to its content. If so, please use Hlayout
 * component instead. 
 * @author tomyeh
 * @deprecated As of release 10.3.0, using {@link Hlayout} instead.
 */
public class Hbox extends Box {
	public Hbox() {
		super("horizontal");
	}

	/** Constructor a horizontal box by assigning an array of children.
	 *
	 * @param children an array of children to be added
	 * @since 2.4.0
	 */
	public Hbox(Component[] children) {
		super("horizontal", children);
	}
}
