Window size dialog
When a diagram or scene is shown in its own window (and not docked in the IDE), you can press S to open the “Size” dialog box:
This lets you specify the size of the window precisely (specifically, the size of the diagram or scene).