By default the “scale to fit” text option is enabled. You can find this option in the property panel under the “Text” tab. Every text element will automatically scale its font size according to the boundaries set by its container and the minimum and maximum font size values. It is a very useful setting if you need to work with multiple languages, for example.
This means that if the text doesn’t fit in its container, the font size decreases with a minimum size as set up in the properties. On the other hand, the font size will automatically increase if there’s room left in the container and the font size is smaller than the maximum font size value.
💡 Good to know: Scale to fit feature doesn't take into account the number of lines in a text element. Its goal is to fit the complete text element within the space given both vertically (height) and horizontally (width). Scale to fit breaks the text element in lines based on the spaces used between the words and will adapt by using the best font size between the minimum and maximum values selected.
If you'd like to always keep your text elements in one unique line, for example, ensure that the container is more wide than high as you can see in the image below:
We hope the information in this article was useful to achieve your goal. If there is anything else we can help you with and you couldn't find it in our help center, don't hesitate to contact us by chat. We are always ready to help you.