Help please! Adjusting Choice Font Size

toQn0HK.png


Good afternoon everyone! I've been making some progress on my game and I'm currently testing the choices!

Choices will be a big part of my game so I want to make sure they look nice, but currently my font is too big for the choices. Is there a way to make the font smaller specifically in the choice window only?

Vo5glYw.png


I also tried using Yanfly's Message Core's text code to manually make the text for choices smaller, but it's making a tangent with the highlight unlike when I make all the text smaller (28 size seems to prevent tangents).

ewGf84d.png

Ideally I'd like to just set the choice font size to 28 and keep everything else at 40 font. If anyone knows how to only make the choice font smaller, please let me know!

Thank you! Have a wonderful day 👋
Copy and paste that into a txt file and save with ".js" without quotes.
Add this to your project, like a plugin.
Code:
Window_Base.prototype.standardFontSize = function() {
    return 40; // change this number to modify the size of any font in your game.
};

Window_ChoiceList.prototype.standardFontSize = function() {
    return 28; // change this number to modify the size of the font for Window Choices.

For the message box, you can alter in the parameters of the plugin from Yanfly message core.
Hello Eliaquim!

I think the text you sent had some plugin incompatibilities because it didn't work, but, I did try your Yanfly message core idea and made the textbox text bigger with the \{ text code.

gTOjtoH.png


Thank you so much! I appreciate the help. 😂
I think if you try to put my snippet below the yanfly plugin it wiill work.
Because yanfly use this function to put a font size in the window_choicelist
Code:
LINE 975
Window_ChoiceList.prototype.standardFontSize = function() {
    return $gameSystem.getMessageFontSize();
};
Or try to change inside the yanfly plugin. Just replace the code after the return for a number you desire for your font.

Glad that I can help ^^

EDIT: MY BAD!
i forgot to add "};" in the first code.
Try to use this:

Code:
Window_Base.prototype.standardFontSize = function() {
    return 40; // change this number to modify the size of any font in your game.
};

Window_ChoiceList.prototype.standardFontSize = function() {
    return 28; // change this number to modify the size of the font for Window Choices.
};
Spoiler: Your Post
toQn0HK.png


Good afternoon everyone! I've been making some progress on my game and I'm currently testing the choices!

Choices will be a big part of my game so I want to make sure they look nice, but currently my font is too big for the choices. Is there a way to make the font smaller specifically in the choice window only?

Vo5glYw.png


I also tried using Yanfly's Message Core's text code to manually make the text for choices smaller, but it's making a tangent with the highlight unlike when I make all the text smaller (28 size seems to prevent tangents).

ewGf84d.png

Ideally I'd like to just set the choice font size to 28 and keep everything else at 40 font. If anyone knows how to only make the choice font smaller, please let me know!

Thank you! Have a wonderful day 👋
I was just wondering how you changed the font style of your choice box?

Original thread: https://forums.rpgmakerweb.com/threads/help-please-adjusting-choice-font-size.112315/