google-code-export / rainmeter

Automatically exported from code.google.com/p/rainmeter
1 stars 0 forks source link

Autoscale inconsistently adds whitespace #175

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a string meter with Autoscale=1 and Text="%1B"
2. Run with a low value, say, 128: Result "128.0B"
3. Run with a high value, say, 2048: Result "2.0 kB"

What is the expected output? What do you see instead?
Expected: consistent use of whitespace (either always add or never add)
Actual result: whitespace added between value and following text only when a 
scale occurs.

What version of the product are you using? On what operating system?
1.3 rev 560 (64-bit) on Win7 64-bit

; Example skin
[Rainmeter]
Update=1000
BackgroundMode=2
SolidColor=0,0,0,128

[mTest]
Measure=Calc
Formula=128

[mTest2]
Measure=Calc
Formula=2048

[Text]
Meter=STRING
MeasureName=mTest
MeasureName2=mTest2
Text="%1B / %2B"
Autoscale=1
FontColor=255,255,255,255

Original issue reported on code.google.com by mexmat.s...@gmail.com on 4 Nov 2010 at 5:39

GoogleCodeExporter commented 9 years ago
Actually, this is very well visible on the tutorial pages:

http://rainmeter.net/RainCMS/sites/default/files/AlexTutorials/tut3final.png

Compare: Drive C / Drive D, Up / Down.

Original comment by mexmat.s...@gmail.com on 4 Nov 2010 at 5:48

GoogleCodeExporter commented 9 years ago
As a suggestion, I think that the space should always be present, or at least 
that should be an option.

Original comment by mexmat.s...@gmail.com on 4 Nov 2010 at 7:40

GoogleCodeExporter commented 9 years ago
This has been fixed in r598.

Original comment by birunthan.mohanathas on 13 Nov 2010 at 7:14