It is currently May 1st, 2024, 11:31 pm

[Bug] Width of string randomizes

Report bugs with the Rainmeter application and suggest features.
birjolaxew
Posts: 2
Joined: February 12th, 2012, 1:12 am

[Bug] Width of string randomizes

Post by birjolaxew »

So, I'm rather new to Rainmeter (and as such, I'm not quite sure whether I'm just stupid, or this is actually a bug), but I ran into a bug when working on my latest Rainmeter skin (a minimalistic skin that displays a random word on every refresh). It would seem that the string is randomly cut-off/extended for no reason. This means that I'm occasionally blocked from moving the word more than halfway across the screen (because of the "Keep on screen" option), even though it's nowhere near the edge (and yes, I do realize that the "Keep on screen" option has a small margin around the edges of the screen. An example can be seen here. At that point, I'm unable to move it any further to the right). At other times, the word is cut off, even though the ClipString setting is set to 0 (as can be seen here. It's supposed to read "imagine.").

My (very small) skin can be found below:

Code: Select all

;---------------------------------;
;------------Meta Data------------;
;---------------------------------;


[Variables]
	@=MinimalWords
	FONTCOLOR=dbc71bFF
	FONT="Arial"
	FONTSIZE=150

[Rainmeter]
	Author=Birjolaxew
	BackgroundMode=1
	Update=-1
	MouseActionCursor=0


;---------------------------------;
;-----------Actual Code-----------;
;---------------------------------;


[MeasureMessage]
	Measure=Plugin
	Plugin=QuotePlugin
	PathName=#CURRENTPATH#\quotes.txt

[MeterMessage]
	Meter=STRING
	MeasureName=MeasureMessage
	X=0
	Y=0
	FontColor=#FONTCOLOR#
	FontSize=#FONTSIZE#
	FontFace=#FONT#
	StringCase=LOWER
	ClipString=0
	AntiAlias=1

I'm using the latest (version 2.2) Rainmeter.

Great work on Rainmeter, by the way. It's amazing, having this customization in an easy-to-use yet powerful package.
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: [Bug] Width of string randomizes

Post by dragonmage »

Try adding DynamicWindowSize=1 to the [Rainmeter] section.
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: [Bug] Width of string randomizes

Post by jsmorley »

If you add:

DynamicWindowSize=1

To the [Rainmeter] section of your skin, this will be corrected.

Edit: Too slow...
birjolaxew
Posts: 2
Joined: February 12th, 2012, 1:12 am

Re: [Bug] Width of string randomizes

Post by birjolaxew »

dragonmage wrote:Try adding DynamicWindowSize=1 to the [Rainmeter] section.
jsmorley wrote:If you add:

DynamicWindowSize=1

To the [Rainmeter] section of your skin, this will be corrected.

Edit: Too slow...
That did indeed fix it. Thanks for the answers, and sorry for bothering you guys!
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: [Bug] Width of string randomizes

Post by jsmorley »

Smithers, release the hounds!