New account registration is temporarily disabled.

[RMVX ACE] VERTICAL LINE SPACING IN DIALOGUE BOX

Posts

Pages: 1
Quick one - does anyone know how to edit the spaces between the lines in a message box?
Marrend
Guardian of the Description Thread
21806
Off the top of my head, I think it might have to do with the line_height function, which is in the Window_Base class. They hard-coded a value in there (24, to be precise) that has no basis on the font you are actually using.

One option is to fiddle with that number until you get the desired spacing. Another possibility is to use contents.font.size, and see if that gets you the desired spacing.
What Marrend said; look for the line_height method.
Thanks folks, I'll have a dig around and see what I can do

EDIT

Worked perfectly, thanks again.
Pages: 1