Truncated contents in read-only text field

Hi, I’m wondering what the best way to deal with a text field rendered as read-only that has part of its contents truncated? Do I have to deal with this myself by converting the field contents into a label or is there a better way? Thanks.

TextField can’t grow according to its content length and calculating a fitting width for it is difficult.

There is the
ExpandingTextArea
add-on for automatic vertical expansion. While it doesn’t expand horizontally, the text wraps, so it should be a useful replacement for TextField in most cases.

OK thanks, I will give that a try.