Boot the installer in EFI mode not legacy-BIOS mode. It's Settings->System->Enable EFI (special OSes only). https://stackoverflow.com/questions/57115746/virtualbox-screen-resolution-too-small-during-installation
Tested installing ElementaryOS 6