Skip to main content
Question

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

  • July 19, 2023
  • 1 reply
  • 588 views

xlc

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.

This topic has been closed for replies.

1 reply

  • 0 replies
  • August 18, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings