2024-09-24 10:49 AM
Hi there TouchGFX team.
I need to print a percentage value on a text widget. The progress bar doesn't fit me, I just need the value to be displayed.
This is done in the widget configuration or is done in code by the dev concatenating the "value" + "%" ?
Thanks a lot in advance
2024-12-16 04:56 AM
Hello @JPabl.1 ,
To display something like "15%" or "2%", you can simply add a wildcard to your textArea followed by the % sign :
Make sure to add "0-9" in the wildcard range of the typography used for the textArea :
Then you can change the value of the wildcard in code.
Please find attached an example of this.
Regards,