This is for a computer running Linux (in this case Ubuntu 19.04) installing a VirtualBox Linux operating system. The default Display setting (Graphics Controller: VMSVGA) doesn’t expand the screen size when re-sizing. Go to Settings -> Display -> Graphics Controller = VBoxSVGA. It will resize correctly when expanded. FYI – I recall the solution is different for Mac. Will post the Mac solutions soon.