I would like to implement a feedback screen, where the user writes whatever they want, in a textbox.
I couldn't get the image(which is a textbox like image) to align exactly in the center(I did use truecenter but It aligns the pictures 0,0 coordinates in the center, and what I want is that the middle of the image to be in the middle of the window of the app).
It's like this for now.
Here is the code:
Code: Select all
screen input_text():
vbox:
text "Enter your text:" outlines [ (absolute(3), "#000", absolute(0), absolute(0)) ]
frame:
background "gui/textbox.png"
input default "" color "000000"
Also, this image serves a purpose, to be a textbox
but when I carry on writing without pressing enter, it overlaps the image.
But, when I put a space, it stops at a certain place and then breaks the line.
I would like all of this to be centered(in the center/middle), and I have no idea of how to fix the line breaking and how big the actual "input box" is.
Again, extremely sorry for not explaining it very well, if that's the case.