It is currently May 1st, 2024, 3:26 am

Elementary Rainmeter 1.4.3 by ~Col-Darby

Get help with creating, editing & fixing problems with skins
Orlic
Posts: 3
Joined: May 21st, 2012, 10:48 pm

Elementary Rainmeter 1.4.3 by ~Col-Darby

Post by Orlic »

Greetings,

I downloaded and tried a skin on deviantART, name and developer are in the title.

Wanted to edit settings of the clock, in order for it to fit better on my desktop.

In the end I gave it a red color of my choice, changed the font to "Classic Robotic", added AntiAlias... however the font is now going beyond the original borders of the skin, here is the code :

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
Color=b80000

[msrHour]
Measure=Time
Format=#hour#

[msrMinute]
Measure=Time
Format=%M

[msrSecond]
Measure=Time
Format=%S

[mtrHour]
Meter=STRING
MeasureName=msrHour
MeterStyle=sText1
X=100
Y=0
FontSize=125
FontFace=Classic Robot
FontColor=#Color#
StringAlign=RIGHT
Text="%1"
AntiAlias=1


[mtrMinute]
Meter=STRING
MeasureName=msrMinute
MeterStyle=sText1
X=-38r
Y=10r
FontSize=(70*#phi#)
FontFace=Classic Robot
FontColor=#Color#
StringAlign=LEFT
Text=":%1"
AntiAlias=1


[mtrSecond]
Meter=STRING
MeasureName=msrSecond
MeterStyle=sText1
X=-12R
Y=18r
FontSize=((60*#phi#)*#phi#)
FontFace=Classic Robot
FontColor=#Color#
StringAlign=LEFT
Text=":%1"
AntiAlias=1
Searched the internet for a solution, tried to change the value of "DynamicWindowSize", didn't work.
Stumbled across this forum, hoping that you guys can and want to help me out.


I would be grateful, thank you for your time.
You do not have the required permissions to view the files attached to this post.
User avatar
Brian
Developer
Posts: 2689
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Elementary Rainmeter 1.4.3 by ~Col-Darby

Post by Brian »

You can do one of two things to fix this.

1. Change the font size of [mtrHour] to something smaller than 125.
2. Change the X option of [mtrHour] to something larger than 100.

-Brian
Orlic
Posts: 3
Joined: May 21st, 2012, 10:48 pm

Re: Elementary Rainmeter 1.4.3 by ~Col-Darby

Post by Orlic »

Brian wrote:You can do one of two things to fix this.

1. Change the font size of [mtrHour] to something smaller than 125.
2. Change the X option of [mtrHour] to something larger than 100.

-Brian
Hey Brian,

thanks for your answer.

It was my intention to make those hours really big, forgot to mention it in the original post, therefore I used the second point.

Changed that and most of those other positions, meaning : minutes, seconds etc., not the code looks like this :

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
Color=b80000
Font=Classic Robot

[msrHour]
Measure=Time
Format=#hour#

[msrMinute]
Measure=Time
Format=%M

[msrSecond]
Measure=Time
Format=%S

[msrAmPm]
Measure=Time
Format=%p

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

[mtrHour]
Meter=STRING
MeasureName=msrHour
MeterStyle=sText1
X=200r
Y=0r
FontSize=125
FontFace=#font#
FontColor=#color#
StringAlign=RIGHT
Text="%1"
AntiAlias=1

[mtrAmPm]
Meter=STRING
MeasureName=msrAmPm
MeterStyle=sText1
X=-225R
Y=56r
FontSize=70
FontFace=#font#
FontColor=#color#
StringAlign=LEFT
Text="%1"
AntiAlias=1

[mtrMinute]
Meter=STRING
MeasureName=msrMinute
MeterStyle=sText1
X=5r
Y=-33r
FontSize=(70*#phi#)
FontFace=#font#
FontColor=#color#
StringAlign=LEFT
Text=":%1"
AntiAlias=1


[mtrSecond]
Meter=STRING
MeasureName=msrSecond
MeterStyle=sText1
X=-12R
Y=8r
FontSize=((60*#phi#)*#phi#)
FontFace=#font#
FontColor=#color#
StringAlign=LEFT
Text=":%1"
AntiAlias=1
It worked fine with a number that had one digit, woke up and saw that the skin broke, with number 12, attached a picture, is there a way to fix this "jumping"?


Thank you.

- Orlic
You do not have the required permissions to view the files attached to this post.
User avatar
Brian
Developer
Posts: 2689
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Elementary Rainmeter 1.4.3 by ~Col-Darby

Post by Brian »

You didn't need to change all the X values, just that one for the hour.

Here is some more information on relative positioning (Check out the X and Y options):
http://rainmeter.net/cms/Meters-GeneralSettings_beta

So to fix your problem now, I would adjust the X value for only the [mtrAmPm] meter until you get the hang of it. No need to adjust the X value for [mtrMinute] and [mtrSecond] as they will move because their position is dependent on [mtrAmPm].

It takes a little time (ie. trial and error) to figure out positioning when it comes to larger font sizes.

-Brian