Change UI (menu, textbox, etc) size for small resolutions?

Hello, I want to make a game that has a resolution a lot smaller than the default RPG Maker resolution, but the interface doesn't scale down; the textbox takes more than half the screen, and the menu and battle UI are broken.

Is there a way to scale down the interface properly? Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/change-ui-menu-textbox-etc-size-for-small-resolutions.84243/