Skip to main content
Associate II
December 29, 2024
Solved

TextArea widget display failure

  • December 29, 2024
  • 1 reply
  • 532 views

Using TOUCHGFX Rev 4.24.2

And following https://support.touchgfx.com/academy/tutorials/tutorial-02

TextArea widget fail to show valid value.

Daniel_Marosi_0-1735515621468.png

 

void MainView::buttonUpClicked()

{

    touchgfx_printf("buttonUpClicked\n");

    counter++;

    Unicode::snprintf(textCounterBuffer, TEXTCOUNTER_SIZE, "%d", counter);

    // Invalidate text area, which will result in it being redrawn in next tick.

    textCounter.invalidate();

}

 

What am I missing?

Best answer by Daniel_Marosi

Problem:

Display ? in Text Area

Daniel_Marosi_1-1735579408284.png

Solution:

Add wildcard Range 0-9 in <Texts><Typograpies>

Daniel_Marosi_2-1735579454466.png

 

1 reply

Daniel_MarosiAuthorBest answer
Associate II
December 30, 2024

Problem:

Display ? in Text Area

Daniel_Marosi_1-1735579408284.png

Solution:

Add wildcard Range 0-9 in <Texts><Typograpies>

Daniel_Marosi_2-1735579454466.png