Associate III
May 30, 2022
Question
The gauge widget needle does not display correctly on TouchGFX 4.19.1
- May 30, 2022
- 3 replies
- 8527 views
I'm using TouchGFX 4.19.1. My speedometer gauge worked fine originally, for a 390x390 display. I need it to work on a 480x480 display so scaled up the background image and needle image and resized the gauge widget. Now I struggle to centre the needle, and the actual image (in simulator and on target) differs from what TouchGFX displays. Changes to the needle rotation centre are not reflected in the simulator/target. This must be related to the relationship between image and widget sizes. Attached is a snip of the simulator (LHS) versus the TouchGFX image (RHS). Has anyone else experienced this?
Gauge widget size is 480 x 260. Needle and background images supplied.
