I think
MoveAnything does that ^^
Assuming default UI, this could also be done in-game with something like:
/run MainMenuBar:SetScale(0.8);
...where 1.0 is the default size.
This change could be made automatic by making a blank addon, with MainMenuBar:SetScale(0.8); as the only line of code