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

TCustomSpeedButton.Margin

Space around the Glyph bitmap and Caption for the control.

Declaration

Source position: buttons.pp line 423

public property TCustomSpeedButton.Margin : Integer
  read FMargin
  write SetMargin
  default - 1;

Description

A value of -1 centers the content. If Spacing is -1 too then there is the same space on the left, between the glyph and caption, and on the right.