resize method

void resize(
  1. Size size
)

This is the resize hook; every time the game widget is resized, this hook is called.

The default implementation does nothing; override to use the hook.

Implementation

void resize(Size size) {}