FMX.TabControl.TTabItem.AutoSize
Delphi
property AutoSize: Boolean read FAutoSize write SetAutoSize default True;
C++
__property bool AutoSize = {read=FAutoSize, write=SetAutoSize, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.TabControl.pas FMX.TabControl.hpp |
FMX.TabControl | TTabItem |
Description
Specifies whether TTabItem header (where the TabItem names appear) is auto-sized based on the length of the Text.
Set the AutoSize property to True to automatically resize the tab item header according to the length of the Text.
Set the AutoSize property to False to lock autoresize of the TTabItem header.