Trying to fix Horizontal Battle Menu

I've been trying to change up the battle system in my game, and I started with switching the options in the battle menu for horizontal menus instead of vertical. The issue I have is once I get past the Fight/Escape option, the menu gets all misplaced. (Fight/Escape options for comparison)

1683142838538.png

1683142750696.png

On another note, I'd like to know how to make the status window (the stuff with the character names, HP, MP, etc.) to be centred and not move at all when I choose an option.

Thanks in advance!
After a bit of wandering through the engine code, I managed to find a solution to my issue!

To solve the issue of the status window being in the wrong position, you have to change this code in Scene_Battle, Line 114
1683210182715.png

Make sure that the values here match the changes you have made to the option windows in their respective code. (For example, the width I have set for Window_PartyCommand and Window_ActorCommand is 200, so these values have been change to reflect that, as you can see.)

To make the status window permanently centred, you can switch all of the values to the same number.

Hope this helps anyone trying to do something similar!
This thread is being closed due to getting solved. If you would like it reopened, report it to let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-fix-horizontal-battle-menu.157194/