Setting the choice text to anchor/align to the TOP or START of the choice box, instead of the center (see picture!)

Everything I have read and searched about text alignment and choice text refers to only manipulating the X (horizontal) anchor of the choice text (to make the text Left aligned, centered, or right aligned).
I have increased the height of the choice options (using VisuMZ MessageCore) so now they are tall (as in the picture).
In doing so, I now have space to the top and bottom of the choice text, which was my desired result. But does anyone know if/how I can manipulate the Y anchor (the vertical one) of the choice text to make the choice text be at the top of the box instead of the center?

My current layout is on the left. What I seek to accomplish is on the right.
Any help is appreciated!
text choice top.png
The problem here is that VS plugins are obfuscated, so ONLY Visustella can edit them.
If there is no setting for that alignment, you'll need to contact Visustella's plugin support to get them to add it with a nbew version.
The problem here is that VS plugins are obfuscated, so ONLY Visustella can edit them.
If there is no setting for that alignment, you'll need to contact Visustella's plugin support to get them to add it with a nbew version.
Okay. Thanks!
The code for it appears to be right here:
Code:
Window_ChoiceList.prototype.drawItem = function(index) {
    const rect = this.itemLineRect(index);
    this.drawTextEx(this.commandName(index), rect.x, rect.y, rect.width);
};

and it calling itemLineRect() is:
Code:
Window_Selectable.prototype.itemLineRect = function(index) {
    const rect = this.itemRectWithPadding(index);
    const padding = (rect.height - this.lineHeight()) / 2;
    rect.y += padding;
    rect.height -= padding * 2;
    return rect;
};

So if you make a copy of that for the Window_ChoiceList and change the padding to not be in the middle, e.g.
Code:
Window_ChoiceList.prototype.itemLineRect = function(index) {
    const rect = this.itemRectWithPadding(index);
    const padding = this.lineHeight();
    rect.y += padding;
    rect.height -= padding;
    return rect;
};

see what that looks like. I obviously don't know if that specific function is overwritten by anything in the VisuStella plugin.
The code for it appears to be right here:
Code:
Window_ChoiceList.prototype.drawItem = function(index) {
    const rect = this.itemLineRect(index);
    this.drawTextEx(this.commandName(index), rect.x, rect.y, rect.width);
};

and it calling itemLineRect() is:
Code:
Window_Selectable.prototype.itemLineRect = function(index) {
    const rect = this.itemRectWithPadding(index);
    const padding = (rect.height - this.lineHeight()) / 2;
    rect.y += padding;
    rect.height -= padding * 2;
    return rect;
};

So if you make a copy of that for the Window_ChoiceList and change the padding to not be in the middle, e.g.
Code:
Window_ChoiceList.prototype.itemLineRect = function(index) {
    const rect = this.itemRectWithPadding(index);
    const padding = this.lineHeight();
    rect.y += padding;
    rect.height -= padding;
    return rect;
};

see what that looks like. I obviously don't know if that specific function is overwritten by anything in the VisuStella plugin.
I tested the code on a new blank project and it does successfully remove the padding, so the code works, on its own.
VisuMZ likely overrides some part of this though because the code no longer works when used alongside VisuMZ.
Thank you for trying, however! I do appreciate the effort!

Original thread: https://forums.rpgmakerweb.com/threads/setting-the-choice-text-to-anchor-align-to-the-top-or-start-of-the-choice-box-instead-of-the-center-see-picture.160854/