RAD Studio VCL Reference
TSpeedButton.Spacing Property

Determines where the image and text appear on a speed button.

property Spacing: Integer;
__property int Spacing;

Set Spacing to the number of pixels that should appear between the image specified in the Glyph property and the text specified in the Caption property.  

If Spacing is a positive number, its value is the number of pixels between the image and text. If Spacing is 0, the image and text appear flush with each other. If Spacing is -1, the text appears centered between the image and the button edge. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!