Sign in Join
FPDoc Onlineexperiment

TControlChildSizing.VerticalSpacing property

Member of TControlChildSizingpublishedIn unit Controls

Minimum space between child controls which are vertically adjacent.

Declaration

pascal
property VerticalSpacing: Integer read FVerticalSpacing write SetVerticalSpacing default 0;

Description

VerticalSpacing is an Integer property with the number of pixels reserved as spacing between vertically adjacent child controls. The default value for the property is 0 (zero) and indicates that no additional space is reserved on the corresponding edges of the Control. Changing the value for the property causes the Change method to be called to resize/realign child controls. The OnChange event handler is also signalled (when assigned).

VerticalSpacing also affects control spacing when using Anchors for positioning child controls on a parent.

Use HorizontalSpacing to set the space reserved between horizontally adjacent child control.

Use TopBottomSpacing to set the space reserved at the top or bottom edge for the Control.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.