Quantcast
Viewing all articles
Browse latest Browse all 1715

Help: Rainmeter Skins • Re: Calculating the text width

To know how much the shape needs to be extended (red line of the Image) W=300+Difference. Or i dealing it wrong? Image may be NSFW.
Clik here to view.
:confused:
I don't follow. Seems to me you want some meter, the Shape meter in my example, to be as large as required to fit all the text you are displaying. 300 has nothing to do with it really. Might be a lot more than 300, might be less than 300. If you want to have a "minimum" of 300, then use Min() in the formula.

Shape=Rectangle 0,0,(Min(300,([MeterHiddenString:W]+20))),50

Your problem is that you are NOT setting the width of the Shape meter based on the width of the string meter that is changing.

[MeterHiddenString] and [MeterShape] both have to be based on the width of [MeterString]

Statistics: Posted by jsmorley — Yesterday, 7:15 pm



Viewing all articles
Browse latest Browse all 1715

Trending Articles