MZ Menu HP, MP, TP width size

Hello! I've been testing for hours, but I haven't found the answer... I need the letters (e.g., HP, MP, TP) and the numbers displayed here (the area marked in red) to be the same size as the rest of the menu font. This happens in all scenes (status, skills, main). Is there any way to do this?


The reason is that I want everything to be uniform. From what I tested, the problem seems to be that the width is fixed, which causes the font to shrink... Is there any way to manually define the width of that area? (I assume it's the HP, MP, TP bar).


A thousand thanks in advance!!! =)

EDIT: It's definitely not a font size issue, but rather a matter of dimensions... I used a plugin that modifies the font (Eli Font) (https://hakuenstudio.itch.io/eli-font-manager-for-rpg-maker) and its size in any scene of the game, and that text is the ONLY one that doesn't change... Any ideas?


I'm attaching a picture as a reference:
Hello, here's the methods that set the font size of the sprite gauges (in menus and battle):
Code:
Sprite_Gauge.prototype.labelFontSize = function() {
    return $gameSystem.mainFontSize() - 2;
};

Sprite_Gauge.prototype.valueFontSize = function() {
    return $gameSystem.mainFontSize() - 6;
};

The label (HP/MP) use the main font face (as set in system 2), while the value (the numbers) use the number font face (also set in system 2). Both use the main font size (also set in system 2) with a little offset (-2, -6). I guess it bypass Eli's plugin.
I suggest you copy the methods above in a plugin and adjust the offset to the main font size, or use a plain value that fit your needs. Some trials and errors might be needed since both the label and value use different font face.
Capture d’écran, le 2025-02-21 à 15.42.56.png

Hope that help.
Regards.
Hello, here's the methods that set the font size of the sprite gauges (in menus and battle):
Code:
Sprite_Gauge.prototype.labelFontSize = function() {
    return $gameSystem.mainFontSize() - 2;
};

Sprite_Gauge.prototype.valueFontSize = function() {
    return $gameSystem.mainFontSize() - 6;
};

The label (HP/MP) use the main font face (as set in system 2), while the value (the numbers) use the number font face (also set in system 2). Both use the main font size (also set in system 2) with a little offset (-2, -6). I guess it bypass Eli's plugin.
I suggest you copy the methods above in a plugin and adjust the offset to the main font size, or use a plain value that fit your needs. Some trials and errors might be needed since both the label and value use different font face.
View attachment 332139
Hope that help.
Regards.
IT WORKED!!!!!!!! Thank you veeeeeeery much!!!

I set both values to -2, and it worked.
I'm not exaggerating, I spent 6 hours trying thousands of things... I really appreciate it! =)


You can close this thread =) =) =)
This thread is closed due to being indicated as solved. Report the next one so we can find it easily. If you need this thread reopened, report it to let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/menu-hp-mp-tp-width-size.175705/