Setting Scene width to not be the same as game Window width

Hi guys,

I've came back to RPG Maker MV and doing some tests with plugins to make a small game. Things are going pretty well so far but there's something I don't know how to make it.

So, game has a 16:9 resolution but the menus looks awful on it. Thanks to SRD_MenuStatusCustomizer I managed to stretch the main menu and give it a 1:1 resolution while the game windows keeps it at 16:9.

However, I don't know how to do the same for the rests of the scenes (Equips, Items, Battle...) I made a couple of Google searchs without any luck. Hope the explanation is clear enough.
go to each window and change the value in their prototype.windowWidth? or manually, after the scene is created?
window width is a property, it should be easy to change by direct access.

each window should have a windowWidth function that'll return a value to it's initialize function.
changing that, should change it accordingly for all windows that'd use *that particular window* as a template.
additionally, at the point of creation of each window in each scene, you can override that width before the window object is added to the scene.
go to each window and change the value in their prototype.windowWidth? or manually, after the scene is created?
window width is a property, it should be easy to change by direct access.

each window should have a windowWidth function that'll return a value to it's initialize function.
changing that, should change it accordingly for all windows that'd use *that particular window* as a template.
additionally, at the point of creation of each window in each scene, you can override that width before the window object is added to the scene.

Thanks mate! This drive me to the next (and probably dumb) question. Where can I find this value for each window? I took at look at my "js/plugins" folder and if I edit a .js file I don't find it. I'm still very new around editing js stuff.
depends on whether you're editing a 3rd party plugin or the base objects.
windowWidth is a property of base window objects, but "width" is a property of sprites and containers which sometimes windows tap into to get their measurements.

use a program like pspad or notepad++ to make batch searches in groups of files.
usually you want to look into rpg_windows or rpg_scenes.

for example:
Spoiler
Code:
Scene_Skill.prototype.create = function() {
    Scene_ItemBase.prototype.create.call(this);
    this.createHelpWindow();
    this.createSkillTypeWindow();
    this.createStatusWindow();
    this.createItemWindow();
    this.createActorWindow();
    this.refreshActor();
};

Scene_Skill.prototype.createItemWindow = function() {
    var wx = 0;
    var wy = this._statusWindow.y + this._statusWindow.height;
    var ww = Graphics.boxWidth;
    var wh = Graphics.boxHeight - wy;
    this._itemWindow = new Window_SkillList(wx, wy, ww, wh);
    this._itemWindow.setHelpWindow(this._helpWindow);
    this._itemWindow.setHandler('ok',     this.onItemOk.bind(this));
    this._itemWindow.setHandler('cancel', this.onItemCancel.bind(this));
    this._skillTypeWindow.setSkillWindow(this._itemWindow);
    this.addWindow(this._itemWindow);
};

Code:
Scene_Skill.prototype.create = function() {} /// start the scene

Scene_ItemBase.prototype.create.call(this); /// call the base template and bring it's properties

this.createItemWindow(); // create the window

Scene_Skill.prototype.createItemWindow = function() {} //declaration of the "create the window" procedure

this._itemWindow = new Window_SkillList(wx, wy, ww, wh); /// call the base object, and pass it the new properties, overriding the defaults.

// further modify properties after creation
this._itemWindow.setHelpWindow(this._helpWindow);
this._itemWindow.setHandler('ok',     this.onItemOk.bind(this));
this._itemWindow.setHandler('cancel', this.onItemCancel.bind(this));
this._skillTypeWindow.setSkillWindow(this._itemWindow);

if you were to create a window_skillList manually, you'd have to look into the window_skillList *window* itself (the object, at the file), and see if it requires the x, y, width and height passed to it before creation.
if it doesn't, or if it has it's own values, you can either go into the file and change them, or create the object first and then override those parameters manually.

read the documentation to learn what are properties, methods and functions.
depends on whether you're editing a 3rd party plugin or the base objects.
windowWidth is a property of base window objects, but "width" is a property of sprites and containers which sometimes windows tap into to get their measurements.

use a program like pspad or notepad++ to make batch searches in groups of files.
usually you want to look into rpg_windows or rpg_scenes.

for example:
Spoiler
Code:
Scene_Skill.prototype.create = function() {
    Scene_ItemBase.prototype.create.call(this);
    this.createHelpWindow();
    this.createSkillTypeWindow();
    this.createStatusWindow();
    this.createItemWindow();
    this.createActorWindow();
    this.refreshActor();
};

Scene_Skill.prototype.createItemWindow = function() {
    var wx = 0;
    var wy = this._statusWindow.y + this._statusWindow.height;
    var ww = Graphics.boxWidth;
    var wh = Graphics.boxHeight - wy;
    this._itemWindow = new Window_SkillList(wx, wy, ww, wh);
    this._itemWindow.setHelpWindow(this._helpWindow);
    this._itemWindow.setHandler('ok',     this.onItemOk.bind(this));
    this._itemWindow.setHandler('cancel', this.onItemCancel.bind(this));
    this._skillTypeWindow.setSkillWindow(this._itemWindow);
    this.addWindow(this._itemWindow);
};

Code:
Scene_Skill.prototype.create = function() {} /// start the scene

Scene_ItemBase.prototype.create.call(this); /// call the base template and bring it's properties

this.createItemWindow(); // create the window

Scene_Skill.prototype.createItemWindow = function() {} //declaration of the "create the window" procedure

this._itemWindow = new Window_SkillList(wx, wy, ww, wh); /// call the base object, and pass it the new properties, overriding the defaults.

// further modify properties after creation
this._itemWindow.setHelpWindow(this._helpWindow);
this._itemWindow.setHandler('ok',     this.onItemOk.bind(this));
this._itemWindow.setHandler('cancel', this.onItemCancel.bind(this));
this._skillTypeWindow.setSkillWindow(this._itemWindow);

if you were to create a window_skillList manually, you'd have to look into the window_skillList *window* itself (the object, at the file), and see if it requires the x, y, width and height passed to it before creation.
if it doesn't, or if it has it's own values, you can either go into the file and change them, or create the object first and then override those parameters manually.

read the documentation to learn what are properties, methods and functions.

Thanks mate! Pretty useful. I made some tests and it works!

Original thread: https://forums.rpgmakerweb.com/threads/setting-scene-width-to-not-be-the-same-as-game-window-width.104049/