ALIGNMENT
Constants Summary
Type | Name | Summary |
---|---|---|
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 Details
BOTTOM
Constant used for setting vertical alignment for components. It makes the text inside the component be bottom aligned vertically.
Returns 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.
Returns Number
Sample
DEFAULT
Constant used for setting horizontal and vertical alignment. DEFAULT value makes the alignment behave as if it was not changed before.
Returns Number
Sample
LEFT
Constant used for setting horizontal alignment for components. It makes the text inside the component be left aligned horizontally.
Returns Number
Sample
RIGHT
Constant used for setting horizontal alignment for components. It makes the text inside the component be right aligned vertically.
Returns Number
Sample
TOP
Constant used for setting vertical alignment for components. It makes the text inside the component be top aligned vertically.
Returns Number
Sample
Last updated