GUI Design Problem

Hi,

I'm currently encountering an issue with the battle gui of my project, i'll show you 2 images so you'll understand quickly :

[url=http://www.noelshack.com/2018-49-4-1544087536-screen1.png][/URL]

now it appears like this, i just want to kill the empty space of the status window because this is a single actor/two actor game
like this :

[url=http://www.noelshack.com/2018-49-4-1544087668-screen2.png][/URL]

i've been searching yesterday for all day script or solution in the forum but with no sucess.
i also been trying to change some plugin code but i think i'm not good enough in javascript

thanks a lot to the person who will give me the answer
To change number of rows for Window_BattleStatus can be found in rpg_window.js

Search for this line:
Code:
Window_BattleStatus.prototype.numVisibleRows = function() {
    return 4;
};
Replace 4 with the number of actor/s that's in your game.
Thanks a lot, actually this is exactly what i needed, but i have a last question : is it okay to modify core script ? i read somewhere that it should always made through plugin...
It's ok to modify core script if only the person knows what they're doing. If you know how to make a plugin, it could make things easier, that is- if it's repeatedly used feature than a one time edit.
If you modify the core script directly, and then you update your project later to a new version of MV you will lose all of the edits (because updating involves updating all core scripts).

So you can either keep a list of all edits you made, or just paste that code into a new js file and add as a plugin.
Allright, thanks a lot for your precious answers everybody 🙂

Original thread: https://forums.rpgmakerweb.com/threads/gui-design-problem.102985/