l2- / template-plugin

BSD 2-Clause "Simplified" License
7 stars 8 forks source link

add option for fixed progress bar width #87

Closed hballington12 closed 6 months ago

hballington12 commented 8 months ago

It appears that the length of the progress bar in the xp tracker is determined by the length of the text of the current total xp. This means that the progress bar fluctuates in length according to the different digits in the total xp. I find this a bit visually annoying. Would it be possible to add an option set the bar length to a fixed length, for example based on the total number of digits in the total xp? Screencast from 28-11-23 11_08_49

l2- commented 8 months ago

It's possible for sure but I'm not sure how the layout should be with the icon and the xp number. And how long the bar should be. You could use a monospace font so the spacing only changes when the number of digits is different (which wouldn't be the case in your example)

hballington12 commented 7 months ago

Cheers, that works nicely.

l2- commented 7 months ago

This should now be fixed for every font