Code: Select all
[Rainmeter]
Author=JorgeSM
[MeterGrad]
Meter=Shape
; Full width gradient
Shape=Rectangle 1,1,100,10 | Extend Defs
; 2 small gradients, without combine, render fine
Shape2=Rectangle 51,15,50,10 | Extend Defs
Shape3=Rectangle 60,20,30,10 | Extend Defs
; small gradients combined, gradient X gets reset to 0
Shape4=Rectangle 51,35,50,10 | Extend Defs
Shape5=Rectangle 60,40,30,10 | Extend Defs
Shape6=Combine Shape4 | union Shape5
Defs=Fill LinearGradient MyFG | StrokeWidth 0
MyFG=180 | 0,0,255,255 ; 0.0 | 0,255,255,255 ; 0.33 | 255,255,0,255 ; 0.66 | 255,0,0,255 ; 1.0
LeftMouseUpAction=!Refresh