Vcl.ComCtrls.TToolButton.AutoSize
Delphi
property AutoSize: Boolean read FAutoSize write SetAutoSize default False;
C++
__property bool AutoSize = {read=FAutoSize, write=SetAutoSize, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TToolButton |
Description
Specifies whether the tool button automatically sizes itself to accommodate its text and image.
If AutoSize is true, the tool button sizes itself automatically; otherwise, the tool button keeps a fixed size.