It is currently April 1st, 2020, 8:15 am

Help with my weather skin

Help with creating, editing & fixing problems with skins
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3847
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Help with my weather skin

Post by eclectic-tech »

Mylasthorcrux wrote:
January 31st, 2020, 11:42 am
...
here you go
That package does not show the same image you posted, but has other issues.

Your text style has "StringAlign=Right", but your meters have X=80. When you use "StringAlign=Right", you have to set the X value of the meters to a value large enough to prevent clipping the text on the left side of the skin.

This is what I initially see:
clima1.png
By changing the style and meter X values from 80 to 180, the skin will show this:
clima2.png
Here is your skin code with those changes.
Climacons Weather.ini

Code: Select all

[Rainmeter]
BackgroundMode=1
Update=1000
DynamicWindowSize=1
Author=Guerrriii

[Metadata]
Name=Clima
Information=Clima solamente
Version=1.0

[Variables]
@Include=#@#Variables.inc
@include2=#@#WeatherComVariables.inc
@include3=#@#WeatherComRegExp.inc

[TextStyle]
FontColor=255,255,255,80
; When StringAlign is "Right", the meter X position must be large enough to not cut off the text on the left side.
StringAlign=Right
X=180
StringEffect=Shadow
FontEffectColor=255,255,255,80
AntiAlias=1

@include4=#@#WeatherComCurrent.inc

[mWeatherDesc]
Measure=String
DynamicVariables=1
String=[@CurrentConditions]
DecodeCharacterReference=1

[MeterIcon]
Meter=Image
MeasureName=@CurrentIcon
Path=#@#Images\Icons
X=180
Y=0
W=40
PreserveAspectRatio=1
Antialias=1

[MeterTemp]
Meter=String
MeasureName=@CurrentTemperature
MeasureName2=@CurrentTemperatureSymbol
MeasureName3=@CurrentTemperatureUnit
y=-5
MeterStyle=TextStyle
StringEffect=Shadow
FontFace=Segoe WP
FontSize=25
Text="Today is %1"
;Postfix=#Postfix#


You do not have the required permissions to view the files attached to this post.
Mylasthorcrux
Posts: 7
Joined: January 16th, 2020, 5:16 pm

Re: Help with my weather skin

Post by Mylasthorcrux »

eclectic-tech wrote:
January 31st, 2020, 3:54 pm
That package does not show the same image you posted, but has other issues.

Your text style has "StringAlign=Right", but your meters have X=80. When you use "StringAlign=Right", you have to set the X value of the meters to a value large enough to prevent clipping the text on the left side of the skin.

This is what I initially see:clima1.png

By changing the style and meter X values from 80 to 180, the skin will show this:clima2.png

Here is your skin code with those changes.
Climacons Weather.ini

Code: Select all

[Rainmeter]
BackgroundMode=1
Update=1000
DynamicWindowSize=1
Author=Guerrriii

[Metadata]
Name=Clima
Information=Clima solamente
Version=1.0

[Variables]
@Include=#@#Variables.inc
@include2=#@#WeatherComVariables.inc
@include3=#@#WeatherComRegExp.inc

[TextStyle]
FontColor=255,255,255,80
; When StringAlign is "Right", the meter X position must be large enough to not cut off the text on the left side.
StringAlign=Right
X=180
StringEffect=Shadow
FontEffectColor=255,255,255,80
AntiAlias=1

@include4=#@#WeatherComCurrent.inc

[mWeatherDesc]
Measure=String
DynamicVariables=1
String=[@CurrentConditions]
DecodeCharacterReference=1

[MeterIcon]
Meter=Image
MeasureName=@CurrentIcon
Path=#@#Images\Icons
X=180
Y=0
W=40
PreserveAspectRatio=1
Antialias=1

[MeterTemp]
Meter=String
MeasureName=@CurrentTemperature
MeasureName2=@CurrentTemperatureSymbol
MeasureName3=@CurrentTemperatureUnit
y=-5
MeterStyle=TextStyle
StringEffect=Shadow
FontFace=Segoe WP
FontSize=25
Text="Today is %1"
;Postfix=#Postfix#


It works perfect, can I change it to celcius? :D
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3847
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Help with my weather skin

Post by eclectic-tech »

Mylasthorcrux wrote:
January 31st, 2020, 6:34 pm
It works perfect, can I change it to celcius? :D
Edit "Clima\@Resources\WeatherComVariables.inc", change Language=en-US, to Language=en-GB , save, and then refresh the skin to have Celsius values.
Mylasthorcrux
Posts: 7
Joined: January 16th, 2020, 5:16 pm

Re: Help with my weather skin

Post by Mylasthorcrux »

Muuuuchas gracias! :D

Image