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

TCustomSpeedButton.Spacing

Spacing between Glyph and Caption

Declaration

Source position: buttons.pp line 353

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

Description

If Spacing is -1 and Margin is -1 then Glyph and Caption are centered and there is the same amount of space between Glyph and Caption and on the left and right. If Spacing is -1 and Margin is not -1 then Spacing will fill the remaining space.