[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomLabel.AutoSize

Enables or disables auto-sizing for the control to its content.

Declaration

Source position: stdctrls.pp line 1614

public property TCustomLabel.AutoSize : Boolean
  default True;

Description

The action performed depends on the control type. For example, a label or button can become bigger or smaller to accommodate a longer or shorter caption.

The default value for the property is True in TCustomLabel.

See also

TControl.AutoSize

  

Allows automatic adjustment of the size for the control, according to its content.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.