It is currently May 8th, 2024, 11:35 pm

Clipstring and Variable Dimensions

Report bugs with the Rainmeter application and suggest features.
User avatar
UnstoppableDave
Posts: 30
Joined: May 22nd, 2010, 6:51 pm

Clipstring and Variable Dimensions

Post by UnstoppableDave »

Was working on my Game Monitor Skin when I noticed that placing a variable in the height value of a text meter while having clipstring=1 causes a funky sort of clipping. Turning off clipstring fixes it as well. I'm running Rainmeter 1.4 rev 692.

Normal:
Number.png
With a variable:
Variable.png
Haven't done extensive testing to see if there was another factor, but it doesn't seem like anything else could cause that phenomenon. The rest of the meter that is shown there:

Meter=String
MeasureName=MsrGame1
X=5
Y=1R
W=195
H=15 (or variable to get the bug)
ClipString=1
StringStyle=BOLD
FontFace=#FontName#
FontSize=#FontSize#
FontColor=#FontCol#
AntiAlias=1

As you can see, the W value is plenty wide and should not be causing any clipping to any of those items.
Look like a legit bug to you guys? Or did I just screw something up? :???:
You do not have the required permissions to view the files attached to this post.
Image
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Clipstring and Variable Dimensions

Post by dragonmage »

I assume L=15?
User avatar
UnstoppableDave
Posts: 30
Joined: May 22nd, 2010, 6:51 pm

Re: Clipstring and Variable Dimensions

Post by UnstoppableDave »

Yep. Sorry I forgot to mention, that's kind of important :P

Edit: Well, I don't know whats going on. I come back an hour later without changing anything and can't duplicate the bug. Sorry to waste a thread. :( I remembered that one of my other skins has a variable in H and clipstring=1 with no problems and it's always worked...
Image