New guy here, just getting into rainmeter and learning something new every day. I'm just starting with my ideas and I've come across something I haven't managed to solve yet through googling and digging the forums.
Heres whats going on - have a string meter displaying text, there's a bar underneath that moves out - using a shape meter on a path for that - that's not the problem, but if you watch the end of the text - it reveals there's some clipping going on. To check, I made the solid color box a transparent red, and it indeed is causing part of the text to be cut off.
Think its something to do with the font, but would like to keep the font, can it be fixed?
Thanks
W.
p.s. its a WIP code so some parts are not even finished yet
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1
[Metadata]
Name=
Author=Wodger
Information=
Version=
License=Creative Commons Attribution - Non - Commercial - Share Alike 3.0
[Variables]
FontSizeSet=80
FaderColor=255,255,255,1
FaderLengthStart=0
FaderLengthEnd=0
FaderValue=0.5
SelectedMeterLaunch=MeterLaunch1
U=[!UpdateMeasure MeasureHoverBarReveal][!UpdateMeter MeterLaunchBar][!Redraw]
[MeterLaunch1]
Meter=String
Text=Online Drives
AntiAlias=1
FontColor=255,255,255
FontFace=Norican
FontSize=#FontSizeSet#
SolidColor=150,100,100,50
MouseOverAction=[!SetVariable SelectedMeterLaunch "MeterLaunch1"][!CommandMeasure MeasureHoverBarReveal "Stop 2"][!CommandMeasure MeasureHoverBarReveal "Execute 1"]
MouseLeaveAction=[!CommandMeasure MeasureHoverBarReveal "Stop 1"][!CommandMeasure MeasureHoverBarReveal "Execute 2"]
DynamicVariables=1
[MeterLaunchBar]
Meter=Shape
Shape=Path RightBar | StrokeWidth 0 | Fill Color #FaderColor#
RightBar=([#SelectedMeterLaunch#:W]/2),([#SelectedMeterLaunch#:H]-[#SelectedMeterLaunch#:H]/15) | LineTo (([#SelectedMeterLaunch#:W]/2)+15)*#FaderValue#,([#SelectedMeterLaunch#:H]-[#SelectedMeterLaunch#:H]/15) | LineTo ([#SelectedMeterLaunch#:W])*#FaderValue#,([#SelectedMeterLaunch#:H]-[#SelectedMeterLaunch#:H]/15) | ArcTo ([#SelectedMeterLaunch#:W]*#FaderValue#),([#SelectedMeterLaunch#:H]) | LineTo ([#SelectedMeterLaunch#:W]/2),([#SelectedMeterLaunch#:H]), ClosePath=1
;Shape2=Path LeftBar | StrokeWidth 0 | Fill Color #FaderColor#
;LeftBar=([#SelectedMeterLaunch#:W]/2),([#SelectedMeterLaunch#:H]-[#SelectedMeterLaunch#:H]/15) | LineTo 10,([#SelectedMeterLaunch#:H]-[#SelectedMeterLaunch#:H]/15) | ArcTo 10,([#SelectedMeterLaunch#:H]),*,*,*,1 | LineTo ([#SelectedMeterLaunch#:W]/2),([#SelectedMeterLaunch#:H]), ClosePath=1
DynamicVariables=1
[MeasureHoverBarReveal]
Measure=Plugin
Plugin=ActionTimer
ActionList1=Repeat Reveal,10,10
Reveal=[!SetVariable FaderValue "(Clamp(#FaderValue#+0.05,0.5,1))"]#U#
ActionList2=Repeat Hide,10,10
Hide=[!SetVariable FaderValue "(Clamp(#FaderValue#-0.05,0.5,1))"]#U#
IfCondition=(#FaderValue#=0.5)
IfTrueAction=[!SetVariable FaderColor "255,255,255,1"]
IfCondition2=(#FaderValue#>0.5)
IfTrueAction2=[!SetVariable FaderColor "255,255,255,100"]
DynamicVariables=1