cancel
Showing results for 
Search instead for 
Did you mean: 

Screen Not Display every widgets

Jtron.11
Senior

Hi all,

Please help to point me where I did a wrong.  I have different widget on the main screen, and when I switched back and forth, the main screen (where there are most widgets implemented) intermittently not display all the widgets.  Sometime I got text box not display, sometime I got the toggle button not display but just show the rectangular box showing the button box.  For example, in this picture, the whole square box (this is the area for the toggle button) dis empty showing the gray area.

The behaviors seems like the widgets not display are the one toward the end of the widgets list.

 

Jtron11_0-1753734870820.png

 

2 REPLIES 2
Osman SOYKURT
ST Employee

Hello @Jtron.11 ,

Which STM32 MCU do you use? Are your assets placed in flash? If so, could you try to cache them and put them in RAM? (check this article in our documentation).
Another thing, can you try to invalidate all your widget when you enter your screen? (in the setupScreen function)

Osman SOYKURT
ST Software Developer | TouchGFX
Osman SOYKURT
ST Employee

Hello @Jtron.11 ,

Have you been able to resolve your issue?

Osman SOYKURT
ST Software Developer | TouchGFX