Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 975

Help: Rainmeter Skins • Trouble displaying Segoe Fluent Font Icon

$
0
0
I used a method in another skin to switch between two icons as a kind of selector. The Icon showing the current state of the selection, ie, On or Off.

For some reason, the icon does not display correctly. I have tried various things like using a Calc measure with IfCondition to a String Measure with IfMatch, like the original skin. I also changed the file encoding, but nothing seems to work, what am I doing wrong?

Code:

[sSegoe]StringStyle=BoldStringAlign=CenterCenterFontFace=Segoe Fluent IconsFontSize=14FontColor=#White#ToolTipText=#CURRENTSECTION#AntiAlias=1Hidden=1Group=SettingsDynamicVariables=1[sHighlight]MouseOverAction=[!SetOption "#CURRENTSECTION#" FontColor "#Green#"][!UpdateMeter "#CURRENTSECTION#"][!Redraw]MouseLeaveAction=[!SetOption "#CURRENTSECTION#" FontColor ""][!UpdateMeter "#CURRENTSECTION#"][!Redraw]; -------------------------------------------------------------; TRIED THIS:[mFullScreen]Measure=CalcFormula=1IfCondition=#FullScreen# = 1IfTrueAction=[!SetOption FullScreenSet Text "[\x25c9]"]IfFalseAction=[!SetOption FullScreenSet Text "[\x25cb]"]DynamicVariables=1FinishAction=[!UpdateMeter FullScreenSet][!Redraw]; AND THIS:[mFullScreen]Measure=StringString=#FullScreen#IfMatch=FullScreenSetIfMatchAction=[!SetOption FullScreenSet Text "[\x25c9]"]IfNotMatchAction=[!SetOption FullScreenSet Text "[\x25cb]"]DynamicVariables=1FinishAction=[!UpdateMeter FullScreenSet][!Redraw]; -------------------------------------------------------------[Full Screen]Meter=StringMeterStyle=sGlobalText | TitleAText=#CURRENTSECTION#X=([Background:X]+10)Y=([Background:Y]+380)[FullScreenSet]Meter=StringMeterStyle=sSegoe | sHighlightLeftMouseUpAction=[!SetVariable FullScreen (1-#FullScreen#)][!UpdateMeasure mFullScreen][!Redraw]X=20RY=r
There are other SFF Icons that are shown correctly, but this one doesn't.
Please put me out of my misery! :-( :lol:

EDIT: Looking at it again, the IfMatch won't work with this, I don't think, so my original code using IfCondition was a better way tog o, but that just doesn't work for me.

Statistics: Posted by sl23 — Today, 10:32 am — Replies 1 — Views 18



Viewing all articles
Browse latest Browse all 975

Trending Articles