[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'ExtCtrls' (#lcl)

# TCustomSplitter.MinSize

Minimum size for either of the anchored controls on opposing sides of the splitter.

## Declaration

Source position: extctrls.pp line 426

`public property TCustomSplitter.MinSize : Integer read FMinSize write SetMinSize default 30;`

## Description

MinSize indicates the smallest size allowed for either of the anchored controls on opposing sides of the splitter. MinSize is used in the MoveSplitter method to prevent adjacent controls from becoming too small when the splitter is dragged. The default value for the property is 30 (pixels).

MinSize does not accept zero (0) or negative Integer values in the property. Setting MinSize to zero (0) would allow an adjacent control to be resized until it is no longer visible - so these values are not accepted in the setter for the property. This is compatible with the TSplitter implementation in the Delphi VCL where the property is defined using an Integer type in the range 1..High(Integer).

## See also

TCustomSplitter.ResizeAnchor |  | Indicates the orientation and alignment for the splitter control.
TCustomSplitter.MoveSplitter |  | Moves the splitter by an amount specified in Offset.
TCustomSplitter.Align |  | Specifies the aligned edge for the splitter within its Parent and relative to ResizeControl.