Enabling Text Wrap Support for Titles in Number Card Widgets
This feature allows the title of the Number Card widget to wrap according to the card’s size, ensuring optimal display and readability. The Text Wrap option is particularly useful when dealing with lengthy titles.
Text Wrap Feature
When the Text Wrap option is enabled, and there is not enough space to display the title on one line, the title will wrap to fit within the card’s width. By default this property will be disabled.
Steps to Enable Text Wrap
- Open the property panel: Click the Number Card settings icon to open the property panel
- Navigate to the Title category: In the property panel, navigate to the Title category where you will find the Text Wrap property.
- Enable the Text Wrap Property: Enable the Text Wrap property to allow the card title to wrap based on the card size.
Limitations
-
Card Height Limitation: If the card height is not sufficient to wrap the title further, the title will be trimmed. This means that only a portion of the title will be displayed, with the rest being cut off. An example is shown below:
-
Title Without Spaces: If the title does not contain spaces between words, the text will not wrap. Instead, it will continue on a single line until it reaches the card’s width limit, at which point it will be trimmed if necessary. An example of a title without spaces is shown below: