Skip to main content
Table of Contents

TTMSFNCButton.TextAlign Property

Sets the alignment of the text area relative to the button bounds.

API unit family: TMSFNCButton Declaring type: TTMSFNCButton Type: TTMSFNCButtonAlignLayout

Overloads

Overload 1

Sets the alignment of the text area relative to the button bounds.

FMX.TMSFNCButton.hppPascalC++
TextAlign: TTMSFNCButtonAlignLayout;
__property TTMSFNCButtonAlignLayout TextAlign = {read=GetTextAlign, write=SetTextAlign, default=21};

Remarks

The default value is TAlignLayout.Client.

Overload 2

Sets the alignment of the text area relative to the button bounds.

FMX.TMSFNCButton.hppPascalC++
TextAlign: TTMSFNCButtonAlignLayout;
__property TTMSFNCButtonAlignLayout TextAlign = {read=GetTextAlign, write=SetTextAlign, default=21};

Remarks

The default value is alClient.