Home > blockly > comments > CommentView > setSize
comments.CommentView.setSize() method
Sets the size of the comment in workspace units, updates the view elements to reflect the new size, and triggers size change listeners.
Signature:
setSize(size: Size): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| size | Size |
Returns:
void