ALIGNMENT
Constants Summarized
Constant used for setting vertical alignment for components.
Constant used for setting horizontal and vertical alignment for components.
Constant used for setting horizontal and vertical alignment.
Constant used for setting horizontal alignment for components.
Constant used for setting horizontal alignment for components.
Constant used for setting vertical alignment for components.
Constants Detailed
BOTTOM
Constant used for setting vertical alignment for components. It makes the text inside the component be bottom aligned vertically.
Type Number
Sample
CENTER
Constant used for setting horizontal and vertical alignment for components. If used for horizontal alignment, then the text of the component will be horizontally centered. Similarly, if used for vertical alignment, then the text of the component will be vertically centered.
Type Number
Sample
DEFAULT
Constant used for setting horizontal and vertical alignment. DEFAULT value makes the alignment behave as if it was not changed before.
Type Number
Sample
LEFT
Constant used for setting horizontal alignment for components. It makes the text inside the component be left aligned horizontally.
Type Number
Sample
RIGHT
Constant used for setting horizontal alignment for components. It makes the text inside the component be right aligned vertically.
Type Number
Sample
TOP
Constant used for setting vertical alignment for components. It makes the text inside the component be top aligned vertically.
Type Number
Sample
Last updated