Sign in Join
FPDoc Onlineexperiment

TControlChildSizing.LeftRightSpacing property

Member of TControlChildSizingpublishedIn unit Controls

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

Declaration

pascal
property LeftRightSpacing: Integer read FLeftRightSpacing write SetLeftRightSpacing default 0;

Description

LeftRightSpacing is an Integer property used to specify the number of pixels reserved at the left and right edges of the Control where the class instance is used. For example: When LeftRightSpacing is set to 5 for the Control, the Left property for a child control cannot be smaller than 5.

LeftRightSpacing (and the other spacing properties) are used when Layout contains a value other than cclNone.

Use TopBottomSpacing to reserve space on the corresponding edges for the Control.

Use HorizontalSpacing and VerticalSpacing to specify the space between child controls when a grid Layout is used.

See also

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