The long and the short of it is that you can now have a string meter dynamically change size to accommodate the string being used, wrapping the string and expanding the meter to fit the entire content.
From the Manual
*******************
ClipString
Controls how strings are truncated (clipped) or wrapped to fit in or expand the containing meter. Valid values are:
0: Disabled. The string will not be clipped or wrapped. (default)
1: Enabled. The string will be clipped with an added ellipsis ... when it exceeds the specified W (width) option on the meter. If the H (height) option is large enough to allow multiple lines, the text is wrapped until the value of H is reached, then clipped.
2: Auto. The string will be clipped or wrapped based on the value of W and/or H. If the width or height are not specified, the meter itself will change size to accommodate the string. This setting works in conjunction with the ClipStringW and ClipStringH options below, to set a "maximum" size that the meter should expand to accomodate the string before clipping.
Note: The changing size of meters when ClipString=2 can cause truncation issues with the overall window size of the skin, unless DynamicWindowSize=1 is set in the [Rainmeter] section of the skin.
ClipStringW
Sets a maximum width that the meter will expand to accomodate the string when ClipString=2. This setting is ignored if the W option is set.
ClipStringH
Sets a maximum height that the meter will expand to accomodate the string when ClipString=2. This setting is ignored if the H option is set.
*******************
Here is a list of scenarios that demonstrates how the feature works with various settings:
- W is NOT defined:
- H is NOT defined:
- ClipStringW is NOT defined:
- ClipStringH is NOT defined:
The width and height of the meter will be the length and height of the text.- W is NOT defined:
- H is NOT defined:
- ClipStringW IS defined:
- ClipStringH is NOT defined:
The width of the meter is the length of the string or ClipStringW, whichever is shorter.
The height of the meter depends on the length of the sting. (There is no limit.)- W is NOT defined:
- H is NOT defined:
- ClipStringW is NOT defined:
- ClipStringH IS defined:
- W is NOT defined:
- H is NOT defined:
- ClipStringW IS defined:
- ClipStringH IS defined:
The width of the meter is the length of the string or ClipStringW, whichever is shorter.
The height of the meter is less than or equal to ClipStringH, depending on the string.- W IS defined: (ClipStringW is ignored.)
- H is NOT defined:
- ClipStringH is NOT defined:
The width of the meter is the defined W value.
The height of the meter depends on the length of the sting. (There is no limit.)- W IS defined: (ClipStringW is ignored.)
- H is NOT defined:
- ClipStringH IS defined:
The width of the meter is the defined W value.
The height of the meter is less than or equal to ClipStringH, depending on the string.- W is NOT defined:
- H IS defined: (ClipStringH is ignored.)
- ClipStringW is NOT defined:
- W is NOT defined:
- H IS defined: (ClipStringH is ignored.)
- ClipStringW IS defined:
The width of the meter is the length of the string or ClipStringW, whichever is shorter.
The height of the meter is the defined H value.- W IS defined: (ClipStringW is ignored.)
- H IS defined: (ClipStringH is ignored.)
The width and height of the meter will be the defined W and H.