2021-06-02 05:28 PM
I am always indebted.
I have a ListLayout in touchgfx template.
The list shows his icon and a fixed string.
I want to add a variable string to this.
I want to display a variable string using "% d", "% f", "% s" of sprintf ().
How should it be realized?
A screen example is attached.
Please give me advice.
Solved! Go to Solution.
2021-06-02 11:53 PM
Hi,
It is possible to create a custom container similar to the one you shared from the "ListLayout Example" UI template. To make a "variable" string you need to use a textArea widget and in the widget settings under the "Text" section put <variable> instead of New Text. Have a look at the different UI templates using textAreas or at tutorial 3.
/Romain
2021-06-02 11:10 PM
Is it possible to create a custom container?
I'll check it out first.
If I can't figure it out, I'll ask again.
2021-06-02 11:53 PM
Hi,
It is possible to create a custom container similar to the one you shared from the "ListLayout Example" UI template. To make a "variable" string you need to use a textArea widget and in the widget settings under the "Text" section put <variable> instead of New Text. Have a look at the different UI templates using textAreas or at tutorial 3.
/Romain