cancel
Showing results for 
Search instead for 
Did you mean: 

Element distorted, but Screen Orientation fixs it

Arthur_UW
Associate II

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:

Arthur_UW_1-1739388508445.png

 

3-I uploaded the project with git so it's easy to track the changes (ignore the typo, 'distorted'='distored')

Arthur_UW_2-1739389110602.png

 

0 REPLIES 0