Skip to main content

Home > blockly > blockRendering > RenderInfo > getSpacerRowWidth_

blockRendering.RenderInfo.getSpacerRowWidth_() method

Calculate the width of a spacer row.

Signature:

protected getSpacerRowWidth_(_prev: Row, _next: Row): number;

Parameters

ParameterTypeDescription
_prevRowThe row before the spacer.
_nextRowThe row after the spacer.

Returns:

number

The desired width of the spacer row between these two rows.