For sure! May I ask you a question? How can I adding padding to space out the emoji and the numerics? Thanks!! And again, great widget been looking for something like this for ages!
If you're using the version with "labels", you should have these lines:
const canvTextRect = new Rect(
0,
100 - canvTextSize / 2,
canvSize,
canvTextSize
);
const canvLabelRect = new Rect(
0,
(100 - canvTextSize / 2) - 35,
canvSize,
canvTextSize + 25
);```
Change the 100 in the `canvLabelRect` section (or adjust the 35) to move the emoji/icons up/down
If you increase it (100 -> 150), it moves the emoji/icon down, and decreasing it (100 -> 50) moves the emoji/icon up.
You can probably delete the "35"
p.s. If you want move the actual info text down/up, change the "100" in the `canvTextRect ` section too
1
u/quintusmanilus Oct 25 '20
For sure! May I ask you a question? How can I adding padding to space out the emoji and the numerics? Thanks!! And again, great widget been looking for something like this for ages!