justify

The justify property defines the justification of the content of a field and the alignment of table column headers.

Usage

With the justify property, you specify the justification of the content of a field as LEFT, CENTER or RIGHT when the field is in display state. This property is ignored for input (i.e. when the field has the focus); only the default data justification rule applies when a field is in input state. The default data justification depends on the dialog type, the field data type and the format property. For example, a numeric field value is right aligned, while a string field is left aligned. The type of dialog also defines the default justification: In a CONSTRUCT, all input fields are left aligned, for search criteria input.

The justify property can be used with all form item types. Additionally to the field content/data alignment, justify defines the alignment of table column headers indirectly (i.e. table column header follows the alignment of field data). However, column header alignment in tables may not be enabled by default; Check the front-end headerAlignment Style attribute.