It is currently May 1st, 2024, 5:39 am

How do I change change text stuff?

Get help with creating, editing & fixing problems with skins
PoinTool
Posts: 14
Joined: September 14th, 2011, 2:51 pm

How do I change change text stuff?

Post by PoinTool »

What is the command for the text font and size?
and if I change the font do I have to include it in the resources (even if Im not exporting it)?
User avatar
UnforgivenRevival
Posts: 310
Joined: June 7th, 2012, 2:25 am
Location: Philadelphia, PA

Re: How do I change change text stuff?

Post by UnforgivenRevival »

It depends on how the skin is written. Can you paste your code here inside ['code'] Tags?

But generally its something like this:

Code: Select all


[SomeText]
Meter=String
FontFace=Arial
FontSize=12
Text=SomeText

User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: How do I change change text stuff?

Post by MerlinTheRed »

If you want to change the font of a string dynamically (for example when you click on something) you can use something like !SetOption StringMeter FontFace "My New Font", if that's what you mean. Otherwise, see the documentation of the String Meter.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!