Single line text label problem

Hi, I have a text label that represents the device’s wifi network, the text length of this label may vary depending on the network name.
How do you display it in one line?
Is there something like “automatically resize text”?
Thank you.

Use the length of the text + font size + if then else block

If the length of the text < 30
Set font to 12
Else
Set font to 10/9

1 Like