The properties I wish are:
- Read only
- Looks like a label, only with multiple lines
- Lua scripter specifies position, size and text of the textbox. Line breaks happen automatically at the end of the textbox, like for textareas.
- Optional: A scrollbar for the whole textarea if the text is too long (like for textlists).
- I don’t care about background. That could be added with the box element anyways, so I don’t see a need for it.
All current solutions I can imagine for multi-line text are ugly work arounds:
- Create text from textlist. Downside: You must manually place line breaks as “,”. This in turn forces you to escape manually, because you can’t throw the text into minetest.formspec_escape, because those commas would be escaped, too!
- Textarea. Downside: This is an input field which can be edited.
- Manually placing labels line per line. Way too much work.