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

Bugs & Feature Suggestions • FR: ClipString=3

$
0
0
Perhaps a bit of a rare case, I know, but still could be useful.
My request is to enable an extra ClipString option that will allow you to define a width when using #CRLF#.

The reason is that in one of my skin, I set up a single meter that has the text change dynamically, which works fine, until the each of the three lines are longer than the allowed space.

I could set up three meters, one for each line, but that means adding many bangs to change each line instead of one.

For example:

Code:

MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "#Aqua#,80"][!SetOption VersionBox Text "v[#[#CURRENTSECTION]Current]#CRLF#v[m#CURRENTSECTION#Latest]#CRLF#v[#[#CURRENTSECTION]Current]"][!ShowMeterGroup VersionBox][!UpdateMeter *][!Redraw]
This creates three lines to show a version number. Which I need to keep a certain width. If I separate it, not only do I need more meters, it makes the whole process of updating their info much more complex and requires a fair bit more code.

Enabling a ClipString=3 option would keep the code simple and allow a width to be defined at the line end. Currently, it will wrap whatever text is on line 1 onto line 2 and so on. But the height is also a critical factor. Having the ClipString=3 option would wrap wherever you put the #CRLF#, giving you much more control, maybe in other situations too.

Do you think that's a reasonable idea?

Statistics: Posted by sl23 — Today, 1:53 pm — Replies 0 — Views 29



Viewing all articles
Browse latest Browse all 822

Trending Articles