Displaying long text


#1

Hey,
What’s the best component to display large amounts of text? I intend to load text from a file and display it in a Viewport,
but the component where I lay it must be able to resize itself to fit the text. Am I overlooking something obvious?


#2

I usually use the TextEditor component to display large amounts of text, and just set to it to be read-only. If the amount of text won’t fit into the bounds of the component, a scrollbar will automatically be added.


#3

Ah. That sounds simple enough. Thanks!