I have an issue with ClipStringH, both in the current R4.2-r31111 and in the R4.3-r3236.
I have 2 meters. The first is a shape with two rectangles, which are the background for the second meter, a simple string-meter.
The string-meter is aligned BOTTOMRIGHT and have both ClipStringW and ClipStringH set.
first, R4.3-r3236. The left one with ClipStringH=38 and the right one with ClipStringH=37 (this one "hides" and doesn't show the 3 dots): now the screenshots for R4.2-r3111, which change about every 18 seconds (!):
Here it doesn't matter if i put ClipStringH=37 or ClipStringH=38, the left after refresh and the right after ~ 18 seconds: Edit: it doesn't matter if hardware-acceleration is on or off
Code for the lttle test-skin:
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1
SkinWidth=200
SkinHeight=200
[Variables]
CPUOnly.Border.W=(200 - 8)
CPUOnly.Border.H=(200 - 8)
[Meter_BG]
Meter=SHAPE
Shape= Rectangle 4, 4, #CPUOnly.Border.W#, #CPUOnly.Border.H# | StrokeWidth 8 | Stroke Color FFFFFF80 | Fill Color FFFFFF00
Shape2=Rectangle 8, 8, (200 - 16), (200 - 16) | StrokeWidth 0 | Stroke Color 00000000 | Fill Color FFFFFFFF
DynamicVariables=1
[Meter_Text]
Meter=STRING
Text="Hello, world! Rainmeter"
X=(200 - 8)
Y=(200 - 8)
ClipStringW=((200 - 8) - 50)
ClipStringH=38
; ClipStringH=37
ClipString=2
InlineSetting= Size | 12
StringAlign=RIGHTBOTTOM
AntiAlias=1
SolidColor=00800040