When you set the (max) height and the (max) width for an element, the text will be truncated automatically:

Result:

image

Ps. the width and height of an element can also be limited by using a (max) width and (max) height on the parent element, f.i. a group.

Additionally you can a limit the number of characters using operators:

Result:

image