FMX.Graphics.TTextSettings.HorzAlign

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property HorzAlign: TTextAlign read FHorzAlign write SetHorzAlign default TTextAlign.Leading;

C++

__property Fmx::Types::TTextAlign HorzAlign = {read=FHorzAlign, write=SetHorzAlign, default=1};

Properties

Type Visibility Source Unit Parent
property public
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics TTextSettings

Description

Specifies how to display the text in terms of horizontal alignment.

HorzAlign can have one of the following values, defined in the TTextAlign type: Center, Leading, and Trailing.

Note: When the control is not sufficiently wide enough to accomodate the text, macOS alignment reverts to Leading.

See Also