[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'fpg_button' (#fpgui)

TfpgBaseButton.ImageSpacing

The spacing between the Image and the Text

Declaration

Source position: fpg_button.pas line 107

protected property TfpgBaseButton.ImageSpacing: Integer
  read FImageSpacing
  write SetImageSpacing
  default -1;

Description

The ImageSpacing value is in pixels. The value range is from -1 to any positive value. -1 has a special meaning and is also the default value. When ImageSpacing equals -1, then the spacing between the button image and the button text is automatically calculated so that the button text is centred in the available horizontal space of the button.


Documentation generated on: 2012-01-26