TcxButtonImageOptions.Spacing Property
Declaration
property Spacing: Integer read; write; default 4;
Property Value
| Type | Default | Description |
|---|---|---|
| Integer | 4 | The base distance (in pixels at
|
Remarks
Use the Spacing property to adjust the distance between the displayed glyph and the caption within the button when its PaintStyle property is set to bpsDefault.
Property Values and Scaling
The Spacing property specifies the base line width that corresponds to 96 DPI. The parent TcxButton component applies the current scale factor to the Spacing property value to calculate the actual distance between the glyph and caption.
Additional Layout-Related Options
Use the Layout property to switch between four predefined button content layouts (horizontal and vertical).
In addition, you can use the Margin property to adjust the distance between the displayed glyph and the nearest button border (depending on the current Layout property value).
Default Value
The Spacing property’s default value is 4.