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

TControlChildSizing.EnlargeVertical

Indicates how child controls are expanded or aligned vertically on the parent Control.

Declaration

Source position: controls.pp line 1979

published property TControlChildSizing.EnlargeVertical : TChildControlResizeStyle
  read FEnlargeVertical
  write SetEnlargeVertical
  default crsAnchorAligning;

Description

EnlargeVertical is a TChildControlResizeStyle property which indicates how child controls are expanded or aligned vertically on the parent Control. The default value for the property is crsAnchorAligning, and indicates that the Anchors, Align, and BorderSpacing properties in the child controls are used - and work like Delphi.

crsAnchorAligning
The Layout and spacing values in the class instance are not used. Instead, properties in the child controls like Align, Anchors, and BorderSpacing are used to resize and align the controls vertically. Child controls which use the Align property are processed in a specific order: alTop, alBottom, alLeft, and finally alRight.
crsScaleChilds
Scales child controls so they all have a uniform height. The height for each control is determined by the unused client area for the Control and the Layout and ControlsPerLine properties.
crsHomogenousChildResize
Applies a homogeneous height to child controls when Layout is set to a value other than cclNone. The realized height is adjusted for the number of pixels specified in TopBottomSpacing, and the number of rows or columns needed for the setting in ControlsPerLine.
crsHomogenousSpaceResize
Applies a uniform number of pixels as vertical space between child controls in the same column. The number of pixels is determined by the unused space on the Control and the settings in Layout and ControlsPerLine. An equal number of pixels is applied before, between, and after each child control in a given column - including on the top and bottom edges of the Control. The height of the child controls is not affected.

The value in EnlargeVertical is not used or applied when Layout is set to cclNone.

See also

TControlChildSizing.Control

  

The Control where the class instance is used.

TControlChildSizing.Layout

  

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

TControlChildSizing.EnlargeHorizontal

  

Indicates how child controls are expanded and/or aligned horizontally on the parent Control.

TChildControlResizeStyle

  

Defines how child controls are resized / aligned.