Help Center

Local Navigation

Aligning a field to a line of text

You can create an application that can align a Field object to the natural beginning of a line of text by using the flag Field.FIELD_LEADING. For example, if you create a Field with the alignment flag Field.FIELD_LEADING, and add the Field to a VerticalFieldManager, if the application starts using either English or Chinese locales for example, the Field aligns to the left side of the screen. If the application starts using either Arabic or Hebrew locales, the Field aligns to the right side of the screen.
Next topic: Buttons

Was this information helpful? Send us your comments.