TitleBarProperties.setHAlign

Sets the horizontal alignment for the title bar - both the title text and any optional image are aligned together as a block.

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

Example:

 controls.TITLEPANEL1.titleBarStyle.setHAlign(ControlConstants.HORIZONTAL_ALIGNMENT_CENTER);
 

Parameters

java.lang.String  hAlign,