It is currently May 6th, 2024, 12:05 pm

Clock Number Alignment

Get help with creating, editing & fixing problems with skins
C1utch
Posts: 2
Joined: November 6th, 2011, 8:31 pm

Clock Number Alignment

Post by C1utch »

Image

To simply put it, i need that 5 to align with the minutes

Code: Select all

[Rainmeter]
Author=Flying Hyrax | flyinghyrax.deviantart.com
Update=1000
AppVersion=2001000
DynamicWindowSize=1

[Metadata]
Name=Elementary Time
Version=1.4.3
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Information=A simple text clock. | - Hours, minutes, and seconds | - Can be 

changed from 12 to 24 hour in Settings.txt

[Variables]
@include=#ROOTCONFIGPATH#Settings.txt

[msrHour]
Measure=Time
Format=#hour#

[msrMinute]
Measure=Time
Format=%M

[msrSecond]
Measure=Time
Format=%S

[sText1]
FontColor=#color#
FontFace=#font#
StringStyle=#style#
SolidColor=0,0,0,1
AntiAlias=1

[mtrHour]
Meter=STRING
MeasureName=msrHour
MeterStyle=sText1
X=115
Y=0
FontSize=120
StringAlign=RIGHT
Text="%1"

[mtrMinute]
Meter=STRING
MeasureName=msrMinute
MeterStyle=sText1
X=-10r
Y=10r
FontSize=120
StringAlign=LEFT
Text=":%1"

[mtrSecond]
Meter=STRING
MeasureName=msrSecond
MeterStyle=sText1
X=-12R
Y=18r
FontSize=((100*#phi#)*#phi#)
StringAlign=LEFT
Text=":%1"
Last edited by C1utch on November 8th, 2011, 3:17 am, edited 1 time in total.
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: Clock Number Alignment

Post by smurfier »

I simplified a few things and this should work:

Code: Select all

[Rainmeter]
Author=Flying Hyrax | flyinghyrax.deviantart.com
AppVersion=2001000
DynamicWindowSize=1

[Metadata]
Name=Elementary Time
Version=1.4.3
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Information=A simple text clock. | - Hours, minutes, and seconds | - Can be changed from 12 to 24 hour in Settings.txt

[Variables]
@include=#ROOTCONFIGPATH#Settings.txt

[msrTime]
Measure=Time
Format=#hour#:%M

[msrSecond]
Measure=Time
Format=%S

[sText1]
FontColor=#color#
FontFace=#font#
StringStyle=#style#
SolidColor=0,0,0,1
AntiAlias=1

[mtrHour]
Meter=STRING
MeasureName=msrTime
MeterStyle=sText1
FontSize=120

[mtrSecond]
Meter=STRING
MeasureName=msrSecond
MeterStyle=sText1
X=-12R
Y=18r
FontSize=((100*#phi#)*#phi#)
Text=":%1"
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
C1utch
Posts: 2
Joined: November 6th, 2011, 8:31 pm

Re: Clock Number Alignment

Post by C1utch »

You're a wizard.

Thank you sir :)