Label with scrollbar and horizontally justified text


#1

Hi, I would like to have a horizontally-justified text label which displays a scrollbar when the text goes beyond a given height.

I already use a TextEditor component, which contains a viewport, but the justification cannot be set to horizontally-justified.

I thought about using a viewport component to embed the label, but getting the text height of the new text to update the viewport doesn’t seem tricky.

So my question is :
Is there an easy way to have a label with a scrollbar and justified text ?