I am trying to have a multiline input textfield on cpp targets that automatically render into a defined area.
I set wordWrap=true
(and multiline=true
) and fixed textfield.width
and textfield.height
But unfortunately, if I type a long String sequence, it does not automatically return to next line (beyond textfield width, the remaining characters of the line are not rendered). It only does after the first space (so wordwrap is not working as expected as too long words are supposed to be rendered on two lines)
If I init textfield.text
with a very long text, the problem is the same. So as if I remove textfield.type = TextFieldType.INPUT;
So the problem seems to be that wordWrap=true
do not work as expected (it do not break words), at least on cpp targets…