Centering text options on title screen

Hi!

I am still learning the program and the basic concepts of scripting/coding, so please be patient with me as I learn.

I'm mucking about with the title screen, and what I'm attempting to do is find practical solutions that don't involve a lot of custom scripting or engines for what I want to do.

On my main title screen I figured out how to move, resize, and make columns for the command text box on the title screen. All straight on. What I want to do is center the option text. I have visualized this below.

I've been searching for a few days now and am not finding any information besides "use a script" or add blank spaces. I'm just assuming there's something I'm missing. The issue is illustrated below.

Thank you for your time.

image.png


image.png


image.png


image.png
The magic word would be inserting alignment to your window class
Code:
  def alignment
    return 1
  end
I want to write longer explanation, but currently no time. Maybe someone could explain
Thank you very much for your reply, Theo.

That did the trick perfectly AND served the purpose of helping me understand what was going on.

So, yes, I was missing a piece. I was under the impression that such an alignment command would have to be applied to each individual command instead of to the menu itself, which now looking at the script structure for other menus makes perfect sense. That goes a long way to helping me make sense of what I'm fiddling with.

Original thread: https://forums.rpgmakerweb.com/threads/centering-text-options-on-title-screen.96167/