It is currently May 4th, 2024, 2:01 pm

How to make a bar solid over another one.

Get help with creating, editing & fixing problems with skins
MikeMason
Posts: 5
Joined: January 9th, 2011, 12:07 am

How to make a bar solid over another one.

Post by MikeMason »

I've edited the skin (WIFI skin) to suit the colours I want. However I can't get the grey bar to be solid over the red bar. I've tried to fix this problem but I need help. The red bar shows up behind the grey bar I want to be solid.

Code: Select all

 [Rainmeter]
Author=Sylvane (Rasylver)
AppVersion=1.0
Update=1000

;===========================================
;  Battery Display
;===========================================

[Variables]
BarColor=2E2D2D
BarBack=4B0404

FontName=Trebuchet MS
FontName2=Trebuchet MS
FontColor=4B0404
FontHeight=12
FontHeight2=10
AntiAlias=1
;-------------------------

[MeasureWifi]
Measure=Plugin
Plugin=Plugins\WifiStatus.dll
WifiInfoType=QUALITY
WifiIntfID=0
WifiListStyle=3

[MeasureSSID]
Measure=Plugin
Plugin=Plugins\WifiStatus.dll
WifiInfoType=SSID
WifiIntfID=0
WifiListStyle=3

[MeasurePHY]
Measure=Plugin
Plugin=Plugins\WifiStatus.dll
WifiInfoType=PHY
WifiIntfID=0
WifiListStyle=3

[MeasureAuth]
Measure=Plugin
Plugin=Plugins\WifiStatus.dll
WifiInfoType=AUTH
WifiIntfID=0
WifiListStyle=3

;-----------------------------------------

[MeterPercent]
Meter=STRING
MeasureName=MeasureWifi
X=160
Y=25
FontColor=#FontColor#
FontSize=#FontHeight#
FontFace=#FontName2#
AntiAlias=1
Postfix=%
Text="%1"
Percentual=1
AutoScale=1

[MeterWifiLabel]
Meter=STRING
Text="WIFI"
X=10
Y=0
FontColor=#FontColor#
FontSize=#FontHeight#
FontFace=#FontName#
AntiAlias=1

[MeterSSID]
Meter=STRING
MeasureName=MeasureSSID
Text="%1"
X=10
Y=25
FontColor=#FontColor#
FontSize=#FontHeight#
FontFace=#FontName#
AntiAlias=1

[MeterPHY]
Meter=STRING
MeasureName=MeasurePHY
Text="%1"
X=140
Y=45
FontColor=#FontColor#
FontSize=#FontHeight2#
FontFace=#FontName#
AntiAlias=1

[MeterAuth]
Meter=STRING
MeasureName=MeasureAuth
Text="%1"
X=10
Y=45
FontColor=#FontColor#
FontSize=#FontHeight2#
FontFace=#FontName#
AntiAlias=1

[MeterBar]
MeasureName=MeasureWifi
Meter=BAR
X=10
Y=20
W=180
H=5
BarOrientation=HORIZONTAL
BarColor=#BarColor#


[BarLine]
Meter=IMAGE
X=12
Y=21
W=180
H=2
SolidColor=#BarBack# 
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: How to make a bar solid over another one.

Post by JpsCrazy »

Switch the meters [BarLine] and [MeterBar]

Code: Select all

 [Rainmeter]
Author=Sylvane (Rasylver)
AppVersion=1.0
Update=1000

;===========================================
;  Battery Display
;===========================================

[Variables]
BarColor=2E2D2D
BarBack=4B0404

FontName=Trebuchet MS
FontName2=Trebuchet MS
FontColor=4B0404
FontHeight=12
FontHeight2=10
AntiAlias=1
;-------------------------

[MeasureWifi]
Measure=Plugin
Plugin=Plugins\WifiStatus.dll
WifiInfoType=QUALITY
WifiIntfID=0
WifiListStyle=3

[MeasureSSID]
Measure=Plugin
Plugin=Plugins\WifiStatus.dll
WifiInfoType=SSID
WifiIntfID=0
WifiListStyle=3

[MeasurePHY]
Measure=Plugin
Plugin=Plugins\WifiStatus.dll
WifiInfoType=PHY
WifiIntfID=0
WifiListStyle=3

[MeasureAuth]
Measure=Plugin
Plugin=Plugins\WifiStatus.dll
WifiInfoType=AUTH
WifiIntfID=0
WifiListStyle=3

;-----------------------------------------

[MeterPercent]
Meter=STRING
MeasureName=MeasureWifi
X=160
Y=25
FontColor=#FontColor#
FontSize=#FontHeight#
FontFace=#FontName2#
AntiAlias=1
Postfix=%
Text="%1"
Percentual=1
AutoScale=1

[MeterWifiLabel]
Meter=STRING
Text="WIFI"
X=10
Y=0
FontColor=#FontColor#
FontSize=#FontHeight#
FontFace=#FontName#
AntiAlias=1

[MeterSSID]
Meter=STRING
MeasureName=MeasureSSID
Text="%1"
X=10
Y=25
FontColor=#FontColor#
FontSize=#FontHeight#
FontFace=#FontName#
AntiAlias=1

[MeterPHY]
Meter=STRING
MeasureName=MeasurePHY
Text="%1"
X=140
Y=45
FontColor=#FontColor#
FontSize=#FontHeight2#
FontFace=#FontName#
AntiAlias=1

[MeterAuth]
Meter=STRING
MeasureName=MeasureAuth
Text="%1"
X=10
Y=45
FontColor=#FontColor#
FontSize=#FontHeight2#
FontFace=#FontName#
AntiAlias=1

[BarLine]
Meter=IMAGE
X=12
Y=21
W=180
H=2
SolidColor=#BarBack# 

[MeterBar]
MeasureName=MeasureWifi
Meter=BAR
X=10
Y=20
W=180
H=5
BarOrientation=HORIZONTAL
BarColor=#BarColor#
MikeMason
Posts: 5
Joined: January 9th, 2011, 12:07 am

Re: How to make a bar solid over another one.

Post by MikeMason »

Thanks a lot! I thought I tried that and it didn't work. Though by the time I tried that I completely destroyed the skin and had to re-download it.