Textbox truncation max line settings doesn't take paragraph spacing into account

When you add truncation to a textbox and set max lines it will not work properly if your text has paragraph spacing >0 and set the height as “hug contents”. As a result, the text will overflow the text box.

Unclear about what the desired behavior should be here as different options have their tradeoffs. But I definitely think text should not be overflowing its textbox.

I think there should ideally be an option to truncate after a pixel height and not just number of lines. As most of the time I just want to limit the height or length of my text box.

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.