Page 1 of 1

(SOLVED) Aligning Names in Namebox

Posted: Sun Feb 18, 2018 9:22 pm
by RoboKnight
Hello,
I've been having a spot of trouble with my characters' names. I know I can change the x and y axis of where I may place my names in the Namebox, but they seem to be anchored to the center. As in, a longer name will always appear farther left and right than a shorter name.
I would like to have the first letter of names anchored, so that they will only expand to the right if the names get longer.

Thank you for your time.

Re: Aligning Names in Namebox

Posted: Sun Feb 18, 2018 9:53 pm
by warmsundae
have you tried changing the xalign to 0.0? you can implement it just as you would xpos and ypos.

Re: Aligning Names in Namebox

Posted: Sun Feb 18, 2018 9:59 pm
by irredeemable
In my experience the names are left aligned. Have you changed the say screen at all?

Re: Aligning Names in Namebox

Posted: Sun Feb 18, 2018 10:03 pm
by RoboKnight
If I change the Xalign to 0.0, then the names stick out of the Namebox (it is diamond shaped)

Re: Aligning Names in Namebox

Posted: Sun Feb 18, 2018 10:15 pm
by Draziya
I'm a bit confused. Couldn't you then use xpos and ypos to move the now left aligned names until they fit into the Namebox?

Re: Aligning Names in Namebox

Posted: Sun Feb 18, 2018 10:28 pm
by RoboKnight
Draziya wrote:
Sun Feb 18, 2018 10:15 pm
I'm a bit confused. Couldn't you then use xpos and ypos to move the now left aligned names until they fit into the Namebox?
If I do that, then both the Namebox and name move across the screen.

Re: Aligning Names in Namebox

Posted: Sun Feb 18, 2018 11:35 pm
by LateWhiteRabbit
You can always align the names to the namebox individually when you define the character. For instance:

Code: Select all

define b = Character("Bob", namebox_xalign=0.74)
Just experiment and set the namebox_xalign value to whatever works best for the character's name.

Re: Aligning Names in Namebox

Posted: Sun Feb 18, 2018 11:37 pm
by RoboKnight
LateWhiteRabbit wrote:
Sun Feb 18, 2018 11:35 pm
You can always align the names to the namebox individually when you define the character. For instance:

Code: Select all

define b = Character("Bob", namebox_xalign=0.74)
Just experiment and set the namebox_xalign value to whatever works best for the character's name.
Oh I didn't know you could do that. Thank you for the help!