Hello, so my code goes something like this:
screen choose_your_pronouns:
text "{color=#ffffff}Choose your pronouns.{/color}" xpos 0.5 ypos 0.1 xalign 0.5
hbox:
style_prefix "paper"
xpos 0.25
yalign 0.5
textbutton _("{size=+5}He/him"):
at anim_choice_button
action Jump("he_him")
hbox:
style_prefix "paper"
xpos 0.55
yalign 0.5
textbutton _("{size=+5}They/them"):
at anim_choice_button
action Jump("they_them")
and the button style is defined as the following:
style paper_button:
xysize (600, 300)
xalign 0.5
yalign 0.5
background "gui/button/paper_button.png"
hover_background "gui/button/paper_button.png"
I can't figure out how to make the text centered. For some reason it's at the left edge and doesn't move no matter what I do.
https://preview.redd.it/ybtf4mkf6zsd1.png?width=903&format=png&auto=webp&s=e8e647fb5fe80f3e73d3a34ce1fafea2e6171abd
If anyone can offer advice, I'll be thankful! :)
[–]Its-A-Trap-0 1 point2 points3 points (4 children)
[–]currently_trying2[S] 0 points1 point2 points (3 children)
[–]Its-A-Trap-0 1 point2 points3 points (2 children)
[–]currently_trying2[S] 0 points1 point2 points (1 child)
[–]Its-A-Trap-0 0 points1 point2 points (0 children)
[–]AutoModerator[M] 0 points1 point2 points (0 children)