Number of pixels between the control and its bound label.
Source position: extctrls.pp line 1033
public property TCustomLabeledEdit.LabelSpacing : Integer |
LabelSpacing is an Integer property with the number of pixels used as a spacer between the edit control and its bound label in EditLabel. The default value for the property is 3.
Changing the value for the property causes EditLabel to be repositioned and anchored to the edit control. The value is added as border spacing for the anchored control in the DoPositionLabel method.
Use LabelPosition to specify the edge on the control where EditLabel is aligned.
|
Edge on the edge control where the bound label is aligned. |
|
|
EditLabel - the label attached to the edit box. |
|
|
DoPositionLabel - perform the code for positioning the label. |
|
|
Implements a label bound to another control. |
Lazarus Component Library (LCL) | Version 4.99-c654d3a90f (2025-03-09) | Home |