It is currently April 30th, 2024, 4:53 pm

Leading Zero

Get help with creating, editing & fixing problems with skins
User avatar
Yincognito
Rainmeter Sage
Posts: 7185
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Leading Zero

Post by Yincognito »

RicardoTM wrote: โ†‘April 10th, 2024, 8:57 pm Thanks Yin, it works ๐Ÿ‘๐Ÿผ
No problem, glad to help. ;-)
Profiles: Rainmeter Profile โ—‡ DeviantArt Profile โ—† Suites: MYiniMeter โ—† Skins: Earth
User avatar
balala
Rainmeter Sage
Posts: 16190
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Leading Zero

Post by balala »

RicardoTM wrote: โ†‘April 10th, 2024, 8:57 pm As Yin already mentioned. It's for design and alignment reasons. I'm making a color selector and I don't like it when the numbers are drifting and changing number of characters. So i'm using a Monospaced font to avoid it, and the substitution to ensure it always takes the same space. You'll see what I'm talking about when I release it soon, it's almost finished.
Alright, as said above in my reply, this way it definitely makes sense. But I didn't realize this, when posted my reply.