Hello. My game features a character creation screen, and on this screen I'm using a script call to draw a custom window which displays some basic information about the character.
My code currently looks like this:
This works well, but I need to adjust the line height so that the text fits better in the window its displayed in. If you look at this screenshot, you'll see what I mean. The circled red text doesn't quite fit right with the default line spacing:
I've tried inserting a "Window.lineHeight = 48;" line, as you can see below, but it doesn't work:
Is there a simple way I can change the line height for this window? And, just to clarify, I only want to change the line height for this one specific window and nothing else.
My code currently looks like this:
JavaScript:
var window = new Window_Base(288, 133, 336, 214);
window.opacity = 0;
window.drawTextEx("\\fs[35]\\n[1]\n\\v[1]\n\\an[1]\n\\ac[1]", 0, 0);
SceneManager._scene.addWindow(window);
This works well, but I need to adjust the line height so that the text fits better in the window its displayed in. If you look at this screenshot, you'll see what I mean. The circled red text doesn't quite fit right with the default line spacing:
I've tried inserting a "Window.lineHeight = 48;" line, as you can see below, but it doesn't work:
Is there a simple way I can change the line height for this window? And, just to clarify, I only want to change the line height for this one specific window and nothing else.