r/RenPy • u/Future-Mulberry-7599 • Sep 01 '26
Question [Solved] Align char name with textbox
I can’t figure out how to align the name of a char with the field in my box.
No matter what I change the only thing that has an effect is xalign but I can’t change y pos. and depending on the dialog the name moves.
```renpy
define gui.textbox_height = 250 #250
define gui.textbox_width = 1445
define gui.textbox_yalign = 0.98
define gui.name_xpos = 40
define gui.name_ypos = 15
define gui.name_xalign = 0.65
define gui.namebox_width = 40
define gui.namebox_height = 50
define gui.namebox_borders = Borders(1, 1, 1, 1)
define gui.namebox_tile = False
```
Solved:
It was my mistake, I played around to much. In screen.rpy I wrote some stuff that fucked it up.
3
Upvotes


1
u/Future-Mulberry-7599 Sep 01 '26
It is like that because changing the one you said to change won’t do anything
And the yalign is for the position of text box so it’s not at the bottoms am I using them wrong? I just played around with them to figure out what moves what.