Skip to main content
bmanj.604
Visitor II
Oct 30, 2019 5:18 AM UTC
Solved

Change display orientation to portrait mode ( UI as well as images)

I have done porting of low level driver required for touchGFX to stm32l496 discovery board and I want to change the orientation of display. For that I am using setDisplayOrientation API and I can rotate UI (buttons and other widgets) by 90 degree. But the images remains in the same orientation. So does anyone have any idea about how can I solve this problem ?

Thank you.

This topic has been closed for replies.
Zui
ZuiBest answer
Senior
Oct 30, 2019 10:29 AM UTC

images must be recompiled in the new orientation, you can do this via TouchGFx/Config/Default Image configuration/Layout Rotation

1 reply

Zui
ZuiBest answer
Senior
Oct 30, 2019 10:29 AM UTC

images must be recompiled in the new orientation, you can do this via TouchGFx/Config/Default Image configuration/Layout Rotation