FMX.TabControl.TTabItem.AutoSize

From RAD Studio API Documentation
Jump to: navigation, search

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.

Tip: The size of the TTabItem header readjusts when the Font property changes.

See Also