VirtualBox window and menu scaling/text incorrect

Sometimes the scaling can be wrong on a VM if you plug in a different monitor. You can fix the issue by opening up the location of the VirtualBox executable, right click on it, go to properties > Compatabiltiy > Enable Program DPI > Set to DPI to the Display of my main display when “I open this program”

Save by hitting OK

“C:\Program Files\Oracle\VirtualBox”

How to force DPI settings in KDE

To force the fonts DPI do the following.

Open up “System Settings” and under “Font” Select “Force fonts DPI:”  Change the defualt number if needed.

Apply settings and restart the computer.

You might need to do this if KDE is displaying the fonts larger than they should be, or if the title bars are overly large.