Rules of text truncate

Hello !
I and my team we are searching for information about the new function to automatically truncate text. Do you know how it works ? What is the rules of truncating ? Because we made some tests and we don’t understant how it works actually :slight_smile:

Thanks in advance,

Have a nice day :sunny:

1 Like

Hey Aurelien,

Make sure your text has a fixed height (cuts it off horizontally) or is set to fill content when using auto layout, otherwise figma does not know where to cut off your text and turns “truncate” off. (you need to turn it on again, might be one confusing point) If you are not using auto-layout and just constraints you can set your text to for example left and right and top and bottom in the constraints menu to make truncating work.

Have a great day

1 Like

I think @Aurelien_Barbier is referring to the rule behind the truncation feature. It’s pretty weird, sometimes it advances by one character, at other times by four. :thinking:

CleanShot 2022-05-24 at 13.33.37

3 Likes

You are right, rule behind truncation is really weird, I sometimes need only a few characters …but it truncates a complete word…

cc @Figma_Support

2 Likes

oh got it! This is also something I would like to know :thinking:

Yes it’s more about the rule behin truncation, not how to activate it :slight_smile:
Thanks for your answers !