Skip to main content
Visitor II
March 28, 2025
Question

Graphics distortions after changing project structure.

  • March 28, 2025
  • 2 replies
  • 335 views

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

2 replies

GaetanGodart
Technical Moderator
March 31, 2025

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,

GaetanGodart
Technical Moderator
May 15, 2025

Hello @filipbaza ,

 

Have you been able to move forward on your project?

 

Regards,