Showing more info on weather skins
Posted: June 18th, 2020, 12:24 pm
jsmorley, I've been thinking about showing more info about a day without cluttering up your clean and elegant skin. One idea was to have a pop-out when hovering over a day name. The only way I found to do it was using tooltip.
It's not very elegant as there is no formatting of the tooltip
Then I thought if the top of the skin, down to sunset was set in a rounded rectangle with the rest of the skin in a rounded rectangle below, it should be possible to replace all the top info with the info corresponding to the day hovered over.
Unfortunately my Rainmeter coding skills are not really up to it, any advice?
Code: Select all
[MeterTomorrowName]
Meter=String
Group=Meters
MeasureName=@ForecastDay2DayLong
X=154
Y=8r
W=160
H=17
FontFace=#TextFont#
FontSize=11
FontWeight=400
FontColor=#LabelColor#
StringAlign=Right
AntiAlias=1
MouseOverAction=[!SetOption MeterTomorrowName FontColor 255,0,0,255][!UpdateMeter MeterTomorrowName][!Redraw]
MouseLeaveAction=[!SetOption MeterTomorrowName FontColor #LabelColor#][!UpdateMeter MeterTomorrowName][!Redraw]
ToolTipTitle="Sunrise/Sunset"
ToolTipIcon=INFO
ToolTipText=#Sunrise# : [@CurrentSunriseTime]#CRLF##Sunset# : [@CurrentSunsetTime]
DynamicVariables=1
Then I thought if the top of the skin, down to sunset was set in a rounded rectangle with the rest of the skin in a rounded rectangle below, it should be possible to replace all the top info with the info corresponding to the day hovered over.
Unfortunately my Rainmeter coding skills are not really up to it, any advice?