blockly > WorkspaceSvg > resize
WorkspaceSvg.resize() method
Resize and reposition all of the workspace chrome (toolbox, trash, scrollbars etc.) This should be called when something changes that requires recalculating dimensions and positions of the trash, zoom, toolbox, etc. (e.g. window resize).
Signature:
resize(): void;
Returns:
void