Skip to main content
Associate II
July 14, 2023
Question

Common element on (almost) all screens

  • July 14, 2023
  • 1 reply
  • 1074 views

Dear community

I'm searching for a solution to have a common status bar (with a battery indicator, that is updated through the model) on all screens. I'm imagining a solution, where I can add a inheritance to the view of a screen (like in Solved: Example: Grouping of Views with Common Functionali... - STMicroelectronics Community), but not touching the generated files of TouchGFX. Is there a common way to do it?

Thanks in advance :)

This topic has been closed for replies.

1 reply

Osman SOYKURT
Technical Moderator
July 17, 2023

Hello @JWill.11 ,

Interesting question... I only know two ways to do a "status bar", one of them is what has been suggested in the link you shared. The other solution is to create as many status widgets as screens you have. 

Osman SOYKURTST Software Developer | TouchGFX