blockly > bubbles > TextInputBubble > setSize

bubbles.TextInputBubble.setSize() method

Sets the size of this bubble, including the border.

Signature:

setSize(size: Size, relayout?: boolean): void;

Parameters

Parameter Type Description
size Size Sets the size of this bubble, including the border.
relayout boolean (Optional) If true, reposition the bubble from scratch so that it is optimally visible. If false, reposition it so it maintains the same position relative to the anchor.

Returns:

void