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

Help: Rainmeter Skins • Re: Problems with minimum and dynamic width

$
0
0
Change the 'X' value of your style to equal the measured width of the song info:

Code:

[playerstyle]SolidColor=0,0,0,190FontFace=Segoe UI Variable SmallFontColor=225,225,225FontSize=9AntiAlias=1StringAlign=Rightx=[MeasureWidth]
Change your [MeasureWidth] section to set the maximum of 200 or the song info width:

Code:

[MeasureWidth]Measure=CalcFormula=Max([MeterSongInfo:W]+40,200)DynamicVariables=1
A random number (40) was added to the measured width; this may need to be adjusted if padding, fontsize, or fontface are change.

-=-
I would suggest setting the skin anchor in Rainmeter.ini (Edit settings) for this skin to:

Code:

AnchorX=RAnchorY=0
Or add OnRefreshAction=[!SetAnchor "R" "0"] to the [Rainmeter] section of the skin.

With that setting the skin will expand right-to-left rather than the default left-to-right.

Statistics: Posted by eclectic-tech — 47 minutes ago



Viewing all articles
Browse latest Browse all 1134

Trending Articles