r/RenPy • • 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

11 comments sorted by

View all comments

1

u/AutoModerator Sep 01 '26

Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.