2025-02-12 11:46 AM
I was trying to build up a stm32g07 GUI project from scratch. But I encountered a distorted button displaying problem. It took me about 3 hours before I gave up, but when I accidentally changed the screen orientation, this problem was solved. I replicated the test, and I'm kind of sure it was a bug in DesignX, even if I changed the orientation back, it still worked. I tried to look for the difference in the generated code before and after I changed the screen orientation but saw nothing.
I hope someone can explain to me how this problem arose and was resolved at the code level.
Thanks.
____________________
Appendixes
2-It works the same on the simulator and the hardware:
3-I uploaded the project with git so it's easy to track the changes (ignore the typo, 'distorted'='distored')