FMX.Types.TTextAlign
Delphi
TTextAlign = (Center, Leading, Trailing);
C++
enum class DECLSPEC_DENUM TTextAlign : unsigned int { Center, Leading, Trailing };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
Specifies the text alignment of a control within its parent.
To set the text alignment of a control, set the TextAlign property for the horizontal axis and the VertTextAlign property for the vertical axis.
TTextAlign can have the following values:
Value | Meaning |
---|---|
|
The text is moved to the center of the parent area. |
|
The text is moved to the beginning of the parent area. |
|
The text is moved to the end of the parent area. |