blockly > blockRendering > RenderInfo > getSpacerRowWidth_

blockRendering.RenderInfo.getSpacerRowWidth_() method

Calculate the width of a spacer row.

Signature:

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

Parameters

Parameter Type Description
_prev Row The row before the spacer.
_next Row The row after the spacer.

Returns:

number

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