[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Space added to the preferred size for the widget.
Source position: controls.pp line 879
published property TControlBorderSpacing.InnerBorder : Integer |
When calculating the preferred size of the associated Control, the LCL checks the widget first.
If the widget has a preferred size, such as a TButton widget, then the InnerBorder value is added to increase the Height or Width of the control at both of the opposing borders; Top and Bottom for preferred height, Left and Right for preferred width.
If the widget does not return a preferred size, the InnerBorder has no effect.
Changing the value for the property causes the Change method to be called to recalculate the preferred size for the associated Control, and to signal the OnChange event handler (when assigned).
|
The control where the border spacing values are applied. |
|
|
Invalidates the control and signals the OnChange event handler. |
|
|
Event handler signalled when border spacing value(s) have been changed. |
|
|
Override this method to return a different preferred height and/or width for auto-sizing. |
Version 4.0 | Generated 2025-05-03 | Home |