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

TCustomButtonPanel.Spacing

Contains the spacing around buttons and bevels on the panel.

Declaration

Source position: buttonpanel.pas line 114

public property TCustomButtonPanel.Spacing : TSpacingSize
  read FSpacing
  write SetSpacing
  default 6;

Description

Spacing is a TSpacingSize property which indicates the number of pixels reserved between buttons and bezels displayed on the panel. The default value for the property is 6. Changing the value in Spacing causes the InvalidatePreferredSize and ReAlign methods to be called.

Use BorderSpacing to indicate the space reserved on the borders (or edges) for the panel.

See also

TButtonPanel.BorderSpacing

  

Determines the inner and outer border spacing for this control.

TWinControl.ReAlign

  

Adjusts the size and placement for the control and all of its children.

TControl.InvalidatePreferredSize

  

Marks the preferred size as invalid for this control and all parents (implies that we will look for another).


Version 3.2 Generated 2024-02-25 Home