Question concerning Name Input Processing.

This may be a stupid question but I need some help.
My game has a resolution of 720/480.
The name input window becomes this:
1708114949371.png

1708114967087.png

I would like the window to be smaller. Anyone know what to do?
Here are the plugins I use.
1708115019684.png
I don't know if it's affected by any of your VisuStella plugins. But the default definition is:
Code:
Scene_Name.prototype.editWindowRect = function() {
    const inputWindowHeight = this.calcWindowHeight(9, true);
    const padding = $gameSystem.windowPadding();
    const ww = 600;
    const wh = ImageManager.faceHeight + padding * 2;
    const wx = (Graphics.boxWidth - ww) / 2;
    const wy = (Graphics.boxHeight - (wh + inputWindowHeight + 8)) / 2;
    return new Rectangle(wx, wy, ww, wh);
};

The lines that define wx and wy are what you're looking for. You can see right now they're based off of the width and height of your game window. You can replace all of the calculations with a number of pixels if you like.
I don't know if it's affected by any of your VisuStella plugins. But the default definition is:
Code:
Scene_Name.prototype.editWindowRect = function() {
    const inputWindowHeight = this.calcWindowHeight(9, true);
    const padding = $gameSystem.windowPadding();
    const ww = 600;
    const wh = ImageManager.faceHeight + padding * 2;
    const wx = (Graphics.boxWidth - ww) / 2;
    const wy = (Graphics.boxHeight - (wh + inputWindowHeight + 8)) / 2;
    return new Rectangle(wx, wy, ww, wh);
};

The lines that define wx and wy are what you're looking for. You can see right now they're based off of the width and height of your game window. You can replace all of the calculations with a number of pixels if you like.
Sorry, I know no programming at all, I would not be sure what to do with this information, but thank you nonetheless.
You change the lines that you want to change.

Copy the whole thing and paste it into a text editor. Save as a *.js file and include as a plugin.
I will try it out, thank you!
You change the lines that you want to change.

Copy the whole thing and paste it into a text editor. Save as a *.js file and include as a plugin.

Original thread: https://forums.rpgmakerweb.com/threads/question-concerning-name-input-processing.165832/