ColumnLayout.setHAlign

Sets the horizontal alignment for all child controls of the container as a whole e.g. setting this property to Center will place all controls in the center of the container's horizontal space. Use the #setCellHAlign(String) method to align each control within its containing table cell.

Supported values:
ValueConstant
CenterControlConstants.HORIZONTAL_ALIGNMENT_CENTER
LeftControlConstants.HORIZONTAL_ALIGNMENT_LEFT
RightControlConstants.HORIZONTAL_ALIGNMENT_RIGHT
FillControlConstants.HORIZONTAL_ALIGNMENT_FILL

Setting a value of null removes any existing value for the property.

Further documentation.

Example:

 controls.PANEL1.layout.setHAlign(ControlConstants.HORIZONTAL_ALIGNMENT_CENTER);
 

Parameters

java.lang.String  hAlign,