Skip to main content
AndreaC
Associate III
September 12, 2023
Solved

TouchGFX Designer orientation change not working properly

  • September 12, 2023
  • 1 reply
  • 998 views

Hi. I tried to modify the demo that comes with the STM32U5A9J-DK.

When I modified display orientation (Config->Display->Display orientation in TGFXD) I found that it's not handled correctly. In the "SVG" screen there's a couple of logos which should move around to show all the resizing and transforming capabilities of svg graphics.

If orientation is changed they still move around but they leave a kind of "trail" and some other artifact.

If I switch back orientation everything works properly.

After applying the modifications, I just generated code by using TouchGFX Designer 4.22.0 and then compiled and loaded it with STMCubeIDE 1.13.1. I had no errors or warnings.

Is it a bug?

    This topic has been closed for replies.
    Best answer by Mohammad MORADI ESFAHANIASL

    Hello @AndreaC ,

    Unfortunately, TouchGFX does not support dynamic orientation change like smart phones. When you change the display orientation, then you have to adjust everything manually to suit the new orientation. That's why when you reverted the display, the demo worked with no issues.

    I hope this has answered your question.

    1 reply

    ST Employee
    September 14, 2023

    Hello @AndreaC ,

    Unfortunately, TouchGFX does not support dynamic orientation change like smart phones. When you change the display orientation, then you have to adjust everything manually to suit the new orientation. That's why when you reverted the display, the demo worked with no issues.

    I hope this has answered your question.

    Mohammad MORADIST Software Developer | TouchGFX