You can force the virtual machine display to fit the current screen or window size.

This option is disabled when the virtual machine is in Unity view or when the virtual machine display cannot be resized.

Procedure

Select View > Resize Virtual Machine to Fit

The virtual machine display is resized to fit the current screen or window.