It is currently July 20th, 2019, 8:50 pm

New Padding option

Changes made during the Rainmeter 3.0 beta cycle.
User avatar
jsmorley
Developer
Posts: 19301
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

New Padding option

jsmorley » July 21st, 2013, 4:07 pm

We have added a new Padding option to meters.

It will allow you to add any number of pixels of "padding" to a meter. The meter W and H will adjust automatically to reflect the new size with the padding.

The format is: Padding=Left,Top,Right,Bottom.

This can be used to add space around meters for formatting purposes.

Examples:

Code: Select all

[Rainmeter]
DynamicWindowSize=1

[MeterNoPadding]
Meter=String
FontSize=13
FontColor=255,255,255,255
SolidColor=0,0,0,255
AntiAlias=1
Text=W: [MeterNoPadding:W] H: [MeterNoPadding:H]
DynamicVariables=1

[MeterPadding]
Meter=String
Y=5R
FontSize=13
FontColor=255,255,255,255
SolidColor=0,0,0,255
Padding=10,10,10,10
AntiAlias=1
Text=W: [MeterPadding:W] H: [MeterPadding:H]
DynamicVariables=1
7-21-2013 12-07-17 PM.jpg

Code: Select all

[Rainmeter]
DynamicWindowSize=1

[MeterNoPadding]
Meter=String
FontSize=13
FontColor=255,255,255,255
SolidColor=0,0,0,255
AntiAlias=1
Text=Mad Dogs and Englishmen

[MeterPadding]
Meter=String
Y=5R
FontSize=13
FontColor=255,255,255,255
SolidColor=0,0,0,255
Padding=10,0,10,0
AntiAlias=1
Text=Mad Dogs and Englishmen
7-21-2013 12-25-41 PM.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
~Faradey~
Posts: 367
Joined: November 12th, 2009, 4:47 pm
Location: Ukraine

Re: New Padding option

~Faradey~ » August 7th, 2013, 7:46 am

I'm realy like this new Padding thing!
it works great and has more benefits then i expected!
Thank you!