Skip to main content

TdxStatusBarPanelStyle.Alignment Property

Specifies the alignment of text within the panel.

Declaration

property Alignment: TAlignment read; write; default taLeftJustify;

Property Value

Type Default
TAlignment taLeftJustify

Remarks

Use the Alignment property to specify how text should be aligned within the panel. This property affects only text panels. Making size grips visible doesn’t affect text position within these panels.

Note

State indicator panels and keyboard state panels have the minimum width required to accommodate their contents. However, there can be situations when such panels are the last in the panel collection and all other panels have a fixed width. In this instance, these panels fill the entire free space of the status bar and their contents are left aligned.

See Also