First, check if your TextEdits
are actually editable by checking the readonly
property. Make sure it is false
.
Next, make sure your clicks are reaching the TextEdit. To test that, play your game, and try to click on the TextEdit. If it doesn't work, have a look in the debugger, the "Misc" tab: in this tab you can see which control you clicked last. For example, if the click ended up on a control which has no visuals (such as a container or a plain Control), make sure its mouse mode is set to Ignore
, or get rid of it.
Note about containers: if you use VBoxContainer
or HBoxContainer
, the key to layout items inside them is to either give them a minimum_size
, or check the expand
flag in Size Flags
(vertical or horizontal depending on the case) so the control will fill the area calculated by its container.