It is currently March 29th, 2024, 3:41 pm

Text gets cut off

Get help with creating, editing & fixing problems with skins
User avatar
deXxterlab97
Posts: 93
Joined: February 5th, 2017, 4:50 am

Text gets cut off

Post by deXxterlab97 »

Hello everyone, need some help with a skin.
Hope I don't mess up my first post.

Basically the text gets cut off. So far I was able to implement it by making a seperate skin for the cut off text. But would like to have the text and the bar to be at the same file for convenience.

Image

The T drive is normal because T:\ is just a separate skin

Here are the codes btw

I am new to Rainmeter if you can't tell

Code: Select all

[Rainmeter]
Author=abu46
Update=1000
MiddleMouseDownAction=!RainmeterDeactivateConfig



[Variables]
FontFace=Ubuntu
FontColor=255,255,255,240
FontSize=11


[MeasureHDD1]
Measure=FreeDiskSpace
Drive="C:"
InvertMeasure=1




[MeasureHDD1L]
Measure=FreeDiskSpace
Drive="C:"
Label=1

........................................................................................................................................................

[Bar Background]
Meter=Image
X=-15
Y=30
H=3
W=285
SolidColor=255,255,255,60

[MeterBar]
Meter=BAR
MeasureName=MeasureHDD1
X=-15
Y=30
H=3
W=285
BarColor=255,255,255,240
BarOrientation=Horizontal

[HDD1Label]
Meter=STRING
Text="WINDOWS"
X=0
Y=5
FontFace=#FontFace#
FontColor=#FontColor#
FontSize=#FontSize#
AntiAlias=1
StringCase=Upper
StringAlign=left
LeftMouseUpAction=!execute [C:/]

[MeterHDD1]
MeasureName=MeasureHDD1
Meter=STRING
FontFace=#FontFace#
FontColor=#FontColor#
FontSize=#FontSize#
AntiAlias=1
StringAlign=right
MinValue=0
MaxValue=100
Postfix="%"
X=263
Y=5
Percentual=1
LeftMouseUpAction=!execute [C:/]

[MeterUsed]
Meter=STRING
MeasureName=MeasureHDD1
FontFace=#FontFace#
FontColor=#FontColor#
FontSize=#FontSize#
AntiAlias=1
MinValue=0
MaxValue=100
StringAlign=right
DynamicVariables=1
Text=[MeasureHDD1:/1073741824,2]
Postfix=" GB / 223.05 GB"
X=263
Y=35
Percentual=1

[RandomText]
Meter=STRING
Text="Used:"
X=0
Y=35
FontFace=#FontFace#
FontColor=#FontColor#
FontSize=#FontSize#
AntiAlias=1

;this is where I am lost
[MeterDiskName]
Meter=STRING
Text="C:\"
X=-20
Y=0
FontFace=Ubuntu
FontColor=255,255,255,240
FontSize=42
AntiAlias=1
StringAlign=Left


I know I need to change background or something but what puzzles me is meter bar just gonna draw a bar for me to measure and the bar background is just a dark gray background. Both of them are so thin and does not contain uhm the big background around?

Been looking around
DynamicWindowSize=1 does not work
Putting another background seems to make things dissapear (I believe the background just overwrites what's beneath it and blocks it?)

The skin is mii system skin 2 in case you were wondering

Also suggestion on what to put next to RAM bar is nice
deXxterlab97
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Text gets cut off

Post by CyberTheWorm »

Try this

Code: Select all

;this is where I am lost
[MeterDiskName]
Meter=STRING
Text="C:\"
X=0
Y=0
FontFace=Ubuntu
FontColor=255,255,255,240
FontSize=42
AntiAlias=1
StringAlign=Left
Then add 100 to all other X values and 15 to all other Y values

No idea why you are using negative values
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
User avatar
deXxterlab97
Posts: 93
Joined: February 5th, 2017, 4:50 am

Re: Text gets cut off

Post by deXxterlab97 »

CyberTheWorm wrote:Try this

Code: Select all

;this is where I am lost
[MeterDiskName]
Meter=STRING
Text="C:\"
X=0
Y=0
FontFace=Ubuntu
FontColor=255,255,255,240
FontSize=42
AntiAlias=1
StringAlign=Left
Then add 100 to all other X values and 15 to all other Y values

No idea why you are using negative values
Ah it works. The reason there were negative values as I was redoing the original skin as it did not suppose to have something else on the left like that drive letter. Thanks
deXxterlab97