Skip to main content
JPabl.1
Associate III
October 24, 2024
Solved

How to do fade out animation when changing screens

  • October 24, 2024
  • 1 reply
  • 959 views

Hi there TouchGFX team!

 

I need to do a fade out animation when changing from my welcome screen to my home screen, but I can only see 4 options on TouchGFX designer. 

I suppose I need to change the alpha value, but there's several widgets on each screen, so I'm not sure updating each one of those alpha values is the best approach. 

How can I implement it?

 

Thanks a lot in advance

Best answer by GaetanGodart

Hello @JPabl.1 ,

 

A previous answer suggested to fade in a black box before switching to the new screen and on the new screen having a black box fading out.
See the post here : https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/screen-change-transition-options/td-p/120986

 

If this answers your question, I invite you to select this comment as "best answer".

 

Regards,

1 reply

GaetanGodart
GaetanGodartBest answer
Technical Moderator
October 25, 2024

Hello @JPabl.1 ,

 

A previous answer suggested to fade in a black box before switching to the new screen and on the new screen having a black box fading out.
See the post here : https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/screen-change-transition-options/td-p/120986

 

If this answers your question, I invite you to select this comment as "best answer".

 

Regards,