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

TControlChildSizing.HorizontalSpacing

Minimum space between child controls which are horizontally adjacent.

Declaration

Source position: controls.pp line 1990

published property TControlChildSizing.HorizontalSpacing : Integer
  read FHorizontalSpacing
  write SetHorizontalSpacing
  default 0;

Description

HorizontalSpacing is the number of pixels reserved as space between horizontally adjacent child controls. It is used when Layout contains a value other than cclNone, but it also affects horizontal control spacing when using Anchors for positioning child controls on a parent.

Use VerticalSpacing to set the space reserved between vertically adjacent child control.

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

Use LeftRightSpacing to set the space reserved at the left or right edge for the Control.

See also

TControlChildSizing.VerticalSpacing

  

Minimum space between child controls which are vertically adjacent.

TControlChildSizing.LeftRightSpacing

  

Minimum distance between the left or right edge for the Control and the left or right edge for a child control.

TControlChildSizing.TopBottomSpacing

  

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

TControlChildSizing.Layout

  

Indicates the layout direction used when child controls are resized and arranged into rows and / or columns.


Version 4.0 Generated 2025-05-03 Home