[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControlChildSizing.VerticalSpacing

Minimum space between child controls which are vertically adjacent.

Declaration

Source position: controls.pp line 2001

published property TControlChildSizing.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).

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.

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

See also

TControlChildSizing.Change

  

Notifies the Control of the child sizing changes and signals the OnChange event handler.

TControlChildSizing.TopBottomSpacing

  

Minimum distance between the top or bottom edge of a Control and the top or bottom edge for a child control.