Changing Text Box's Height and Position

I can't find a way to change the height of the textbox. Yanfly's Message Core only lets me change the width and number of rows, but not the height of the textbox. I also tried SRDude's Super Tools, but it won't let me select the text box. I would also like to know how to manually change the position, instead of using center, bottom or top.

I can confirm that these plugins behave correctly. I am using the FOSSIL plugin.
1000198283.png
One of the big changes to MZ over MV is how windows are coded. Even using FOSSIL to make most of the features work, I would not expect an MV plugin to work correctly with this.

Yanfly's Message Core only lets me change the width and number of rows, but not the height of the textbox.
I don't understand - the number of rows is the height.

I would suggest either trying an MZ plugin, like seeing what options are available in VisuStella's Message Core, or making a plugin with the changes you want. You can copy the chunks of code below into a text editor, save it with any changes as a *.js file, and include as a plugin.

Code:
Window_Message.prototype.updatePlacement = function() {
    const goldWindow = this._goldWindow;
    this._positionType = $gameMessage.positionType();
    this.y = (this._positionType * (Graphics.boxHeight - this.height)) / 2;
    if (goldWindow) {
        goldWindow.y = this.y > 0 ? 0 : Graphics.boxHeight - goldWindow.height;
    }
};
The line that starts with this.y is setting the y coordinate. By default, it goes off of the bottom/center/top that you selected (positionType) and relates that to the height of the game window.

You can change the formula after the = sign, or just replace it all with a specific number.

Code:
Scene_Message.prototype.messageWindowRect = function() {
    const ww = Graphics.boxWidth;
    const wh = this.calcWindowHeight(4, false) + 8;
    const wx = (Graphics.boxWidth - ww) / 2;
    const wy = 0;
    return new Rectangle(wx, wy, ww, wh);
};

The number inside calcWindowHeight() is how many lines of text to accommodate. Again, you could replace that entire formula after wh = with a specific number of pixels for the height.
Thank you so much! This works flawlessly 🙂
I don't understand - the number of rows is the height.
When I changed the number of rows in YEP Message Core, the height of the text box window would not adapt to the number of rows, but would just leave empty rows. Here the window's height adapts to the number of rows shown without showing empty rows. Since I don't want to use plugins with obfuscated code, I much prefer your solution. Thanks again!

Original thread: https://forums.rpgmakerweb.com/threads/changing-text-boxs-height-and-position.169088/