Skip to main content

validateVerticalResize()

validateVerticalResize(leftValue, rightValue, dx, minSize): boolean

Validates if a vertical resize operation is allowed. Prevents resizing if it would make an area smaller than the minimum size. Only blocks movement in the direction that would shrink an area below the minimum.

Parameters

ParameterTypeDescription
leftValuenumberNew size for the left column
rightValuenumberNew size for the right column
dxnumberDelta X (horizontal movement)
minSizenumberMinimum allowed size in pixels

Returns

boolean

true if the resize is allowed, false otherwise