2025-03-19 10:53 PM
Hi all,
Can anyone please give me advice how can I implement a custom Gauge:
That will be used my custom image and needle
That can be also a button, that when I click in the middle of the gauge, the gauge will change image to glowing as it is a button and turn off the gauge glowing as the button off for another click.
Thank you so much.
2025-03-20 2:50 AM
Hello @Jtron.11 ,
There is a gauge widget in TouchGFX that you can use with your custom images.
For the glowing behavior, you can add a clicklistener to your gauge. Please refer to this tutorial : How to TouchGFX: create a custom clickable area with an invisible widget. Then to be able to change image after the click, you can refer to that post Solved: change image at runtime - STMicroelectronics Community.
I hope it helps,
Best regards,