fitToContent abstract method

void fitToContent()

Automatically adjusts the view (scale and origin) to fit all items within the viewport.

Implementation

void fitToContent();