I have a simple image background which looks like this: This is the code:
Code: Select all
[Rainmeter]
Update=1000
[MsrCalc]
Measure=Calc
Formula=80
[ObjBase]
Meter=Image
ImageName=base.png
X=0
Y=0
W=220
H=(21+[MsrCalc])
ScaleMargins=15,15,15,15
AntiAlias=1
Hidden=0
DynamicVariables=1
Hovewer, when I have a condition in a measure which redraws the skin then the image appears like that:
This is the measure:
Code: Select all
[MsrCondition]
Measure=Calc
Formula=1
IfCondition=(MsrCondition = 1)
IfTrueAction=[!Redraw][!Log "Redraw happened" Notice]
I figured out that it is due to the height formula which uses the measure in the formula.
If I manually redraw the skin later hen the image meter shows up properly.
If I use just the number instead of the measure it shows properly of course.
Also, I noticed if there is some meter that is overlapping with the meter or placed further than the meter then the image meter shows up until the edge of that another meter:
Test skin: