Shrink text to fix Text Element

I am working on an app where you insert the twitter URL and it shows the tweet.

Except tweets may have different lengths, so frequently the text get’s cut off:

How can I workaround this limitation?
I’ve tried creating a condition, but there is no way to start the condition off like “If text length doesn’t fit” - reduce font size.
Any help?

1 Like

You can’t get the data from the text element, but there is an easy way.

The best elements for working with data are groups, instead of giving the tweet text directly to the text element, you can create a parent group and store the text value there.

Now you have easy access to the text value from anywhere and with parent group’s text, you can display it in the text element.
In this way, you can change the text’s font size with a condition.