blockly > blockRendering > RenderInfo > getSpacerRowHeight_
blockRendering.RenderInfo.getSpacerRowHeight_() method
Calculate the height of a spacer row.
Signature:
protected getSpacerRowHeight_(_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 height of the spacer row between these two rows.