MZ [SOLVED] Changing Menu Text Size in VisuStella MainMenuCore

I've been customizing the menu screens using VisuStella Core and Main Menu Core, and I'm looking to further customize them to change the font size of specific elements on the main menu.

Right now I've successfully removed some of the text on the main menu screen by changing the code in the Line Style Settings of the MainMenuCore plugin, but I'm looking to change the font size of the actor's name specifically on the main menu screen. This is where I'm at so far:
VisuStellaFontSize.png


I'm a beginner in terms of learning JavaScript, but I'm thinking it's somewhere in the // Draw Actor Name section of the Line Style Settings.

So far I've tried this code, but it returns an error:
Code:
this.drawText(actor.name(), sx, sy + 100, sw, 'center').fontSize = 150;

Does anyone have any ideas on what code I need to make this work properly? Thanks!
I've been customizing the menu screens using VisuStella Core and Main Menu Core, and I'm looking to further customize them to change the font size of specific elements on the main menu.

Right now I've successfully removed some of the text on the main menu screen by changing the code in the Line Style Settings of the MainMenuCore plugin, but I'm looking to change the font size of the actor's name specifically on the main menu screen.

I'm a beginner in terms of learning JavaScript, but I'm thinking it's somewhere in the // Draw Actor Name section of the Line Style Settings.

So far I've tried this code, but it returns an error:
Code:
this.drawText(actor.name(), sx, sy + 100, sw, 'center').fontSize = 150;

Does anyone have any ideas on what code I need to make this work properly? Thanks!
Try this.contents.fontSize = 12. Call it before the text is drawn (so the line right before this one). 150 is... probably way too large.
You can also conditionally change it to x points smaller than whatever it was already using by using this.contents.fontSize -= x
Edit: be sure to change it back in the line right after this one, as the next thing drawn might be expecting the size to be a specific value.
Try this.contents.fontSize = 12. Call it before the text is drawn (so the line right before this one). 150 is... probably way too large.

Awesome, thank you so much, this worked perfectly!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/solved-changing-menu-text-size-in-visustella-mainmenucore.125874/