Unit 'Buttons' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TCustomSpeedButton.Spacing

Spacing between Glyph and Caption.

Declaration

Source position: buttons.pp line 409

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.