How to move text inside Textbutton?
Posted: Sun Aug 20, 2017 3:55 pm
So lets say I got simple Textbutton that does nothing text inside it by default will be in center question is how do i move it around the textbutton area? Is that even possible? Like if i do xalign whole button will be moved obviously how to do it just for the text inside the textbutton?
Code: Select all
init python:
#This controls minimum button length
style.companionstats = Style(style.frame)
style.companionstats_button.xmaximum = 115
style.companionstats_button.xminimum = 115Code: Select all
screen test:
frame:
style_group "companionstats"
xalign 0.500
yalign 0.500
vbox:
textbutton "BUTTON"