justifyAdded by IBM on August 8, 2013 | Version 1 (Original)
|Determines the placement of text within the containing item.
Table 1. justify parameters
|alignment||left ||Text is placed so that it is flush with left edge of item.|
|right ||Text is placed so that it is flush with right edge of item.|
|center ||Text is centered in item.|
|lead|| Aligns Left-To-Right text left, and Right-To-Left text right so that it is flush with side at which you start reading.|
|trail|| Aligns Left-To-Right right and Right-To-Left left so that it is flush with side at which you start reading.|
Available in button, combobox, field, label, popup, richtext
Example This sample aligns the text in the center of the item.
- The built-in labels (label option) for items do not support a justify option.
- If you center or right justify a field with a scrollhoriz of never, the field will wordwrap if you type beyond the edge of the field. However, the new line of text will continue to be right or center justified.