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

Community Tips & Tricks • ScrollBar Template

$
0
0
Thanks for your words guys. I appreciate it.

I decided to keep it simple to let the code be all about the scrollers and make it a little bit easier to adapt to other skins. However it can be adapted to use more meters instead of a single meter as well.

I left most formulas on variables so it was easier to tweak, in theory (because I haven't done it yet) you would have to simply add the math in the place of [Content:H]. So basically [Content:H] would be the sum of all meters' height, plus the space between them if any. The same for [Content:W] but with Width. To be clear, you'd have to replace [Content:H] and [Content:W].

Just replacing those on all formulas should make it work, if I'm not missing something.

I'd create a variable called ContentH and let that variable be the sum of all meters' height. Basically the total content's height.

What I've said is assuming the meters are in cascade, the math can change a little depending on the meters layout. However what matters is to get the total content's height and or width.

Statistics: Posted by RicardoTM — Today, 4:22 pm — Replies 5 — Views 119



Viewing all articles
Browse latest Browse all 822

Trending Articles