Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » add custom needle to an existing theme

Pages: [1]
Author Topic: add custom needle to an existing theme
JtotheC11
Member
Posts: 40
Post add custom needle to an existing theme
on: August 1, 2020 (GMT)

im trying to add a .png needle to an existing theme but no luck, i downloaded a custom needle png image with no background, copied into the .torque/themeDir file, renamed it to needle.png but with no luck. the result i get is a disappeared needle. If you know what I did wrong please let me know.

Capp777
Member
Posts: 2850
Post Re: add custom needle to an existing theme
on: August 1, 2020 (GMT)

Did you edit properties.txt?

DialNeedleOffset=value
DialNeedleSizeRatio=value (default 1, half size 0.5)

If I remember correctly the image
aspect ratio should be 1:10 (e.g.
69:690)

The needle background needs to
be transparent.

JtotheC11
Member
Posts: 40
Post Re: add custom needle to an existing theme
on: August 2, 2020 (GMT)

thank you for your response! it was the aspect ratio.
i added the dial needle size ratio into the properties.txt but im not sure how to value pivotOffset. Ive never really done any editing into the properties until recently for the needle.

It is challenging to center out the needle to make it aligned almost perfectly.

Pages: [1]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.075 seconds.

  Follow me on twitter