Incorrect textarea drawing without linebreaks

Boris 4 years ago updated by Lazlo Bonin (Lead Developer) 3 years ago 4


I was struggling with creating a unit that can display multiline strings. I found that there are Inspectable and InspectorTextArea attributes. However, they behave really strange with word wrapping:

Here is the code for the custom class:

public class LongText
    public string Text;
Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):

Same goes for inspector:

Pending Review

Thanks for the report, I'll look into it.


I tried reproducing this in the latest version (v.1.4.0f4) and it seems to behave properly, at least in the Formula unit:

Perhaps I fixed it as a side effect of another inspector refactor along the way.