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

TCustomButtonPanel.AutoSize

Indicates if the panel can automatically adjust its size.

Declaration

Source position: buttonpanel.pas line 102

public property TCustomButtonPanel.AutoSize : Boolean
  default True;

Description

AutoSize is a Boolean property which indicates if the button panel can automatically adjust its size. The default value for the property is True.

Please note that auto-sizing is affected by the value in the Align property. When Align is set to alBottom (the default), the panel width is determined by the available width for the parent. Height will be automatically sized, but Width will not.

See also

TCustomButtonPanel.Align

  

Indicates the alignment used for the panel relative to the owner for the panel.

TControl.AutoSize

  

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

TControl.AdjustSize

  

Smart way to DoAutoSize.


Version 4.0 Generated 2025-05-03 Home