Sign in Join
FPDoc Onlineexperiment

TSpeedButton.Spacing property

Member of TSpeedButtonpublishedIn unit Buttons

Spacing between the Glyph bitmap and the Caption for the control.

Declaration

pascal
property Spacing:;

Description

If Spacing is -1 and Margin is -1 then the glyph and the Caption are centered, with the same amount of unused space on each side of the control. If Spacing is -1 and Margin is not -1 then Spacing will fill the remaining unused space.

Changing the value for the property causes the preferred size to be recalculated, and the control is redrawn (in SetSpacing).

This description is the one of Buttons.TCustomSpeedButton.Spacing.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.