RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBitBtn.Spacing Property

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

Pascal
property Spacing: Integer;
C++
__property int Spacing;

Spacing determines the number of pixels between the image (specified in the Glyph property) and the text (specified in the Caption property). The default value is 4 pixels. 

If Spacing is a positive number, its value is the number of pixels between the image and text. If Spacing is 0, no pixels will be between the image and text. If Spacing is -1, the text appears centered between the image and the button edge. The number of pixels between the image and text is equal to the number of pixels between the text and the button edge opposite the glyph. 

 

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