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

TCustomSpeedButton.Margin

Margin - the space around glyph and caption

Declaration

Source position: buttons.pp line 343

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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.