Delete the square at the bottom or top of sub menu

Hi everyone, does anyone know how to delete the empty rectangle at the bottom (or top depending on your layout setup) in sub menus ?
I mean the rectangle crossed in red in the screenshot below (status sub menu but I also have it in skills and equipment). I want the biography to go all the way down in this exemple.
I am using VisuStella Mainmenucore pluggin

1767737560994.png

I don't have the issue with the main menu
1767737816922.png

Thanks !
That rectangle is another window, probably the Help window. Does VisuStella have an option to hide the help window in that scene?
Yeah you can change the window areas (copy paste to notepad, save as .js file to plugin folder and add as a plugin below VisuStella). Just adding the below might automatically resize the other window, but if not, you can change that rectangle too (it's Scene_Status.prototype.dataWindowRect I think)

Scene_Status.prototype.helpWindowRect = function() {
const wx = 0;
const wy = 0;
const ww = 0;
const wh = 0;
return new Rectangle(wx, wy, ww, wh);
};

EDIT: With 'other window' I meant the one visible in your pic. Not the window in the Equip or other scenes.
Yeah you can change the window areas (copy paste to notepad, save as .js file to plugin folder and add as a plugin below VisuStella). Just adding the below might automatically resize the other window, but if not, you can change that rectangle too (it's Scene_Status.prototype.dataWindowRect I think)

Scene_Status.prototype.helpWindowRect = function() {
const wx = 0;
const wy = 0;
const ww = 0;
const wh = 0;
return new Rectangle(wx, wy, ww, wh);
};

EDIT: With 'other window' I meant the one visible in your pic. Not the window in the Equip or other scenes.
It worked ! Thank you so much 🙂
Yeah you can change the window areas (copy paste to notepad, save as .js file to plugin folder and add as a plugin below VisuStella). Just adding the below might automatically resize the other window, but if not, you can change that rectangle too (it's Scene_Status.prototype.dataWindowRect I think)

Scene_Status.prototype.helpWindowRect = function() {
const wx = 0;
const wy = 0;
const ww = 0;
const wh = 0;
return new Rectangle(wx, wy, ww, wh);
};

EDIT: With 'other window' I meant the one visible in your pic. Not the window in the Equip or other scenes.
Hello,
Sorry to bother you again, the other window didn't resize automatically so I tried this code :
Scene_Status.prototype.dataWindowRect = function() {
const wx = 0;
const wy = 0;
const ww = Graphics.boxWidth;
const wh = Graphics.boxHeight;
return new Rectangle(wx, wy, ww, wh);
};
But it goes all the way on the first rectangle on the page, so I was thinking of doing this
Scene_Status.prototype.dataWindowRect = function() {
const wx = 0;
const wy = 0;
const ww = Graphics.boxWidth;
const wh = Graphics.boxHeight - top rectangle box height;
return new Rectangle(wx, wy, ww, wh);
};
But I don't know how this box is called. Could you please help me ?
1767795796277.png
Try the below:

Scene_Status.prototype.dataWindowRect = function() {
const wx = 0;
const wy = this.mainAreaTop() + this._categoryWindow.height;
const ww = Graphics.boxWidth;
const wh = Graphics.boxHeight - this.buttonAreaHeight() - this._categoryWindow.height;
return new Rectangle(wx, wy, ww, wh);
};
Try the below:

Scene_Status.prototype.dataWindowRect = function() {
const wx = 0;
const wy = this.mainAreaTop() + this._categoryWindow.height;
const ww = Graphics.boxWidth;
const wh = Graphics.boxHeight - this.buttonAreaHeight() - this._categoryWindow.height;
return new Rectangle(wx, wy, ww, wh);
};
It works ! Thank you so much !

Original thread: https://forums.rpgmakerweb.com/threads/delete-the-square-at-the-bottom-or-top-of-sub-menu.181811/