Vcl.ComCtrls.TStatusPanel.Alignment
Delphi
property Alignment: TAlignment read FAlignment write SetAlignment default taLeftJustify;
C++
__property System::Classes::TAlignment Alignment = {read=FAlignment, write=SetAlignment, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TStatusPanel |
Description
Specifies how text is aligned within the status panel.
Use Alignment to indicate panel text alignment. These are the possible values:
Value | Meaning |
---|---|
taLeftJustify |
Align text on the left side of the panel. |
taCenter |
Center the text in the panel. |
taRightJustify |
Align text on the right side of the panel. |
Note: If the status bar has a sizing grip, setting the Alignment of the last status panel to taRightJustify truncates the panel's text.