If you want the virtual machine window to be full-screen, you need to install the Guest Additions package in your virtual machine. For this you need:
After you have launched your virtual machine, in the top menu, select "Devices β Install Guest Add-ons". After that, .iso guest add-ons will be downloaded.
You will see .iso loaded as a CD image. Run it and it will start the installation process in the Terminal. Follow the instructions until the end of the installation process.
Reboot your VM.
After that, you can make the virtual machine window full-screen or any other size.
source share