align

The align property specifies the position of data in a variable field when the length of the data is smaller than the length of the field.

To specify values for this property, use the values of the alignKind enumeration:
left (the default for character data)
Places the data at the left of the field. Initial spaces are stripped and placed at the end of the field.
right (the default for numeric data)
Places the data at the right of the field. Trailing spaces are moved to the beginning of the field. This setting is required for numeric data that has a decimal position or sign.
center
Places the data at the center of the field. Leading and trailing spaces are stripped so that spacing is calculated based on the other field content only.
none
Does not justify the data. This setting is valid for character data only.

Although the align property affects the output of both character and numeric data, it affects the input of character data only. Numeric data is always right-justified on input.

The align property is not meaningful for a JSF Handler because the JSF API does not support it. You can specify alignment in the CSS for a control, where appropriate.

Compatibility

Table 1. Support for align property
Data item JSF handler VGUI record Console UI Text Form Java™ Text Form COBOL Print Form Java Print Form COBOL
Yes No No Yes Yes Yes* Yes Yes*

* The following additional compatibility considerations apply:

Table 2. Compatibility considerations for align
Platform Issue
COBOL generation The center value is not supported for this property.

Feedback