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

TCustomSpeedButton.Spacing

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

Declaration

Source position: buttons.pp line 432

public property TCustomSpeedButton.Spacing : Integer
  read FSpacing
  write SetSpacing
  default 4;

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.


Version 3.2 Generated 2024-02-25 Home