cancel
Showing results for 
Search instead for 
Did you mean: 

Graphics distortions after changing project structure.

filipbaza
Associate

I create project based on touch-gfx and it is working corectly but I would like to merge its UI with my another project. To achive this I changed the touch-gfx project structure to default STM32CubeIDE. I got graphics distortions after this. What could be the reason of this fail?
stm.PNGsignal-2025-03-28-194103.jpegsignal-2025-03-28-194103_002.jpeg

1 REPLY 1
GaetanGodart
ST Employee

Hello @filipbaza and welcome to the community!

 

The right way of using a GUI on another project is to create your new project, then click on Edit => Import => GUI and now navigate to your previous project and open the .touchgfx file.

Now your GUI should have a working GUI as long as you don't use/modified external files (like adding a library or modifying the main.c).

 

I hope this helps!
If this comment answers your question, I invite you to select it as "best answer".

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)