This might be a stupid question but how do I move the inputted text? (making game that's 4:3 resolution, hence i have to move the stuff in the screen around) The click-to-input spot works (it's right around the center of the box) but the text is to the right of that spot for some reason
The location of the inputted text is set here in the button definition, but im not 100% sure if that's the issue.
Do you have any other code in your project modifying the styling of text buttons? They look like they might be centered, which is affecting the positioning. Try adding 'xalign 0.0' to the end of the line with all the button's details, that should set it to left align which should make it easier to fit it into place.
If this helps let me know, otherwise I can try a few more things to figure it out.
← Return to tool
Comments
Log in with itch.io to leave a comment.
This might be a stupid question but how do I move the inputted text? (making game that's 4:3 resolution, hence i have to move the stuff in the screen around) The click-to-input spot works (it's right around the center of the box) but the text is to the right of that spot for some reason
The location of the inputted text is set here in the button definition, but im not 100% sure if that's the issue.
Do you have any other code in your project modifying the styling of text buttons? They look like they might be centered, which is affecting the positioning. Try adding 'xalign 0.0' to the end of the line with all the button's details, that should set it to left align which should make it easier to fit it into place.
If this helps let me know, otherwise I can try a few more things to figure it out.
Setting the xalign to 0.0 seems to have slightly fixed it (the text is actually in the box now)
I'll play around with the xalign and such and I'll hopefully find something that works for sure but at least I know what to mess with now. Thanks!