2025-03-28 11:48 AM
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?
2025-03-31 1:09 AM
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,