The following line give me shadow text :
StringEffect=SHADOW
1. Instead of having to place this in multiple locations of a skin, can I tell it simply shadow every instance of displayed text (global setting)? - thx
It is currently September 29th, 2024, 7:36 am
Global Setting For Displayed Text
-
- Posts: 300
- Joined: June 12th, 2016, 2:40 am
-
- Rainmeter Sage
- Posts: 16602
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Global Setting For Displayed Text
Yes, you can. You'll have to use the MeterStyle. So, create the following section:
Then add to each string meter the MeterStyle=MyMeterStyle option. Obviously, you can use not just the StringEffect option, but any one (like FontFace, FontSize, StringStyle, StringAlign, etc). Especially if you have more options, this will save a lot of lines.
Code: Select all
[MyMeterStyle]
StringEffect=SHADOW
-
- Posts: 300
- Joined: June 12th, 2016, 2:40 am
Re: Global Setting For Displayed Text
I am confused. I entered the text provided, immediately after a line in the skin's .inc file thus :
:-----------------------Text------------------------
[MyMeterStyle]
StringEffect=SHADOW
... and there is no change.
:-----------------------Text------------------------
[MyMeterStyle]
StringEffect=SHADOW
... and there is no change.
-
- Rainmeter Sage
- Posts: 16602
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Global Setting For Displayed Text
There don't even can be, because that's not enough, you'll also have to add to each string meter where you want to use the shadow, a MeterStyle=MyMeterStyle option. Eg the following meter will have shadow:MourningStar wrote:I am confused. I entered the text provided, immediately after a line in the skin's .inc file thus :
:-----------------------Text------------------------
[MyMeterStyle]
StringEffect=SHADOW
... and there is no change.
Code: Select all
[MeterString]
Meter=STRING
MeterStyle=MyMeterStyle
X=0
Y=0
Padding=15,5,15,5
FontColor=220,220,220
FontEffectColor=0,0,0
FontSize=10
FontFace=Calibri
StringStyle=BOLD
StringAlign=LEFT
AntiAlias=1
Text=Anything
Code: Select all
[MyMeterStyle]
StringEffect=SHADOW
FontFace=Calibri
[MeterString]
Meter=STRING
MeterStyle=MyMeterStyle
X=0
Y=0
Padding=15,5,15,5
FontColor=220,220,220
FontEffectColor=0,0,0
FontSize=10
StringStyle=BOLD
StringAlign=LEFT
AntiAlias=1
Text=Anything
Also be careful, in Rainmeter commenting out an option can be done with semicolon (;), not with colon (:).
-
- Posts: 300
- Joined: June 12th, 2016, 2:40 am
Re: Global Setting For Displayed Text
OK - sorry for my not being understood. I was asking for 'Global Setting'. To me this means a ONE-time entry that will apply to ALL of skin's displayed text.
-
- Rainmeter Sage
- Posts: 16602
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Global Setting For Displayed Text
By default, without adding anything to the meters? I don't think.
-
- Developer
- Posts: 22783
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Global Setting For Displayed Text
No, there is not.MourningStar wrote:OK - sorry for my not being understood. I was asking for 'Global Setting'. To me this means a ONE-time entry that will apply to ALL of skin's displayed text.
-
- Posts: 300
- Joined: June 12th, 2016, 2:40 am
Re: Global Setting For Displayed Text
thank you balala & jsmorley.