It is currently April 28th, 2024, 5:46 am

Mouse over label?

Get help with creating, editing & fixing problems with skins
User avatar
Ninjashizzle
Posts: 9
Joined: July 31st, 2012, 4:02 am

Re: Mouse over label?

Post by Ninjashizzle »

If I increase the height of the shortcut bar it increases the whole image (bar) which I don't want. Here is the skin for you to check. Also, the tooltips seem to have no problem with width, just height which makes even less sense.
You do not have the required permissions to view the files attached to this post.
User avatar
KreAch3R
Posts: 608
Joined: February 7th, 2011, 7:27 pm
Location: Thessaloniki, GR

Re: Mouse over label?

Post by KreAch3R »

You misunderstood me, I was talking about the Y value of the meter, not it's height (H). It was indeed what I was saying. :) If you move all of your meters 10 pixels down, then everything displays correctly. So make Y=10 to the BarImage meter, and add 10 to the rest, or use this:

Code: Select all

[Rainmeter]
Update=1000
Author=Ninjashizzle
BackgroundMode=0
DynamicWindowSize=1

;...........................................................................
;Variables
;...........................................................................

[Variables]
FontFace=Minecraft
FontColor=FFFFFF

Button1Path=C:\Users\Simon\AppData\Local\Google\Chrome\Application\chrome.exe
Button1Name=Chrome

Button2Path=C:\Program Files\Steam\Steam.exe
Button2Name=Steam

Button3Path=C:\Program Files\Adobe\Adobe Photoshop CS5.1 (64 Bit)\Photoshop.exe
Button3Name=Photoshop

Button4Path=C:\Program Files (x86)\TechSmith\Camtasia Studio 7\
Button4Name=Camtasia Studio 7

Button5Path=::{450D8FBA-AD25-11D0-98A8-0800361B1103}
Button5Name=Documents

Button6Path=G:\Pictures
Button6Name=Pictures

Button7Path=G:\Music
Button7Name=Music

Button8Path=G:\Videos
Button8Name=Videos

Button9Path=::{645ff040-5081-101b-9f08-00aa002f954e}
Button9Name=Recycle Bin

;...........................................................................
;Measure
;...........................................................................

[mLuaScript]
Measure=Script
ScriptFile=#ROOTCONFIGPATH#Shortcut Bar\Script.lua
ToolTipHeight=8

;...........................................................................
;Meter
;...........................................................................

[BarImage]
Meter=IMAGE
ImageName=#ROOTCONFIGPATH#Shortcut Bar\Shortcut Bar.png
X=0
Y=10
H=61
W=546
AntiAlias=1

[Button1]
Meter=IMAGE
ImageName=#ROOTCONFIGPATH#Shortcut Bar\Buttons\Sword.png
AntiAlias=1
X=7
Y=6r
LeftMouseUpAction=!Execute ["#Button1Path#"][!Update]
MouseOverAction=[!ShowMeterGroup ToolTip1][!CommandMeasure "mLuaScript" "Size('ToolTip1', '#CURRENTSECTION#')"][!Redraw]
MouseLeaveAction=[!HideMeterGroup ToolTip1][!Redraw]

[Button2]
Meter=IMAGE
ImageName=#ROOTCONFIGPATH#Shortcut Bar\Buttons\Shovel.png
AntiAlias=1
X=15R
Y=3r
LeftMouseUpAction=!Execute ["#Button2Path#"][!Update]
MouseOverAction=[!ShowMeterGroup ToolTip2][!CommandMeasure "mLuaScript" "Size('ToolTip2', '#CURRENTSECTION#')"][!Redraw]
MouseLeaveAction=[!HideMeterGroup ToolTip2][!Redraw]

[Button3]
Meter=IMAGE
ImageName=#ROOTCONFIGPATH#Shortcut Bar\Buttons\Pickaxe.png
AntiAlias=1
X=19R
Y=-1r
LeftMouseUpAction=!Execute ["#Button3Path#"][!Update]
MouseOverAction=[!ShowMeterGroup ToolTip3][!CommandMeasure "mLuaScript" "Size('ToolTip3', '#CURRENTSECTION#')"][!Redraw]
MouseLeaveAction=[!HideMeterGroup ToolTip3][!Redraw]

[Button4]
Meter=IMAGE
ImageName=#ROOTCONFIGPATH#Shortcut Bar\Buttons\Axe.png
AntiAlias=1
X=19R
Y=-1r
LeftMouseUpAction=!Execute ["#Button4Path#"][!Update]
MouseOverAction=[!ShowMeterGroup ToolTip4][!CommandMeasure "mLuaScript" "Size('ToolTip4', '#CURRENTSECTION#')"][!Redraw]
MouseLeaveAction=[!HideMeterGroup ToolTip4][!Redraw]

[Button5]
Meter=IMAGE
ImageName=#ROOTCONFIGPATH#Shortcut Bar\Buttons\Bookshelf.png
AntiAlias=1
X=17.5R
Y=1r
LeftMouseUpAction=!Execute ["#Button5Path#"][!Update]
MouseOverAction=[!ShowMeterGroup ToolTip5][!CommandMeasure "mLuaScript" "Size('ToolTip5', '#CURRENTSECTION#')"][!Redraw]
MouseLeaveAction=[!HideMeterGroup ToolTip5][!Redraw]

[Button6]
Meter=IMAGE
ImageName=#ROOTCONFIGPATH#Shortcut Bar\Buttons\Painting.png
AntiAlias=1
X=16R
Y=-1r
LeftMouseUpAction=!Execute ["#Button6Path#"][!Update]
MouseOverAction=[!ShowMeterGroup ToolTip6][!CommandMeasure "mLuaScript" "Size('ToolTip6', '#CURRENTSECTION#')"][!Redraw]
MouseLeaveAction=[!HideMeterGroup ToolTip6][!Redraw]

[Button7]
Meter=IMAGE
ImageName=#ROOTCONFIGPATH#Shortcut Bar\Buttons\Music.png
AntiAlias=1
X=16R
Y=-1r
LeftMouseUpAction=!Execute ["#Button7Path#"][!Update]
MouseOverAction=[!ShowMeterGroup ToolTip7][!CommandMeasure "mLuaScript" "Size('ToolTip7', '#CURRENTSECTION#')"][!Redraw]
MouseLeaveAction=[!HideMeterGroup ToolTip7][!Redraw]

[Button8]
Meter=IMAGE
ImageName=#ROOTCONFIGPATH#Shortcut Bar\Buttons\Moss Stone.png
AntiAlias=1
X=16R
Y=r
LeftMouseUpAction=!Execute ["#Button8Path#"][!Update]
MouseOverAction=[!ShowMeterGroup ToolTip8][!CommandMeasure "mLuaScript" "Size('ToolTip8', '#CURRENTSECTION#')"][!Redraw]
MouseLeaveAction=[!HideMeterGroup ToolTip8][!Redraw]

[Button9]
Meter=IMAGE
ImageName=#ROOTCONFIGPATH#Shortcut Bar\Buttons\TNT.png
AntiAlias=1
X=18R
Y=r
LeftMouseUpAction=!Execute ["#Button9Path#"][!Update]
MouseOverAction=[!ShowMeterGroup ToolTip9][!CommandMeasure "mLuaScript" "Size('ToolTip9', '#CURRENTSECTION#')"][!Redraw]
MouseLeaveAction=[!HideMeterGroup ToolTip9][!Redraw]

[Background]
Group=ToolTip1 | ToolTip2 | ToolTip3 | ToolTip4 | ToolTip5 | ToolTip6 | ToolTip7 | ToolTip8 | ToolTip9
Meter=IMAGE
ImageName=#ROOTCONFIGPATH#Shortcut Bar\Tooltip\Tooltip.png
ScaleMargins=3,0,3,0
Hidden=1

[ToolTip1]
Group=ToolTip1
SolidColor=0,0,0,1
Meter=STRING
FontFace=#FontFace#
FontColor=#FontColor#
Text=#Button1Name#
AntiAlias=1
Hidden=1

[ToolTip2]
Group=ToolTip2
SolidColor=0,0,0,1
Meter=STRING
FontFace=#FontFace#
FontColor=#FontColor#
Text=#Button2Name#
AntiAlias=1
Hidden=1

[ToolTip3]
Group=ToolTip3
SolidColor=0,0,0,1
Meter=STRING
FontFace=#FontFace#
FontColor=#FontColor#
Text=#Button3Name#
AntiAlias=1
Hidden=1

[ToolTip4]
Group=ToolTip4
SolidColor=0,0,0,1
Meter=STRING
FontFace=#FontFace#
FontColor=#FontColor#
Text=#Button4Name#
AntiAlias=1
Hidden=1

[ToolTip5]
Group=ToolTip5
SolidColor=0,0,0,1
Meter=STRING
FontFace=#FontFace#
FontColor=#FontColor#
Text=#Button5Name#
AntiAlias=1
Hidden=1

[ToolTip6]
Group=ToolTip6
SolidColor=0,0,0,1
Meter=STRING
FontFace=#FontFace#
FontColor=#FontColor#
Text=#Button6Name#
AntiAlias=1
Hidden=1

[ToolTip7]
Group=ToolTip7
SolidColor=0,0,0,1
Meter=STRING
FontFace=#FontFace#
FontColor=#FontColor#
Text=#Button7Name#
AntiAlias=1
Hidden=1

[ToolTip8]
Group=ToolTip8
SolidColor=0,0,0,1
Meter=STRING
FontFace=#FontFace#
FontColor=#FontColor#
Text=#Button8Name#
AntiAlias=1
Hidden=1

[ToolTip9]
Group=ToolTip9
SolidColor=0,0,0,1
Meter=STRING
FontFace=#FontFace#
FontColor=#FontColor#
Text=#Button9Name#
AntiAlias=1
Hidden=1
It's the same, just with relative positioning. After that the ToolTip displays correctly, at least here.

One note: try to incorporate the @Resources folder in your suite, it will make all those "#ROOTCONFIGPATH#..." paths unnecessary.
Inactive, due to life changes. Send me a PM for any question.

Desktop DeviartArt
Image
User avatar
Ninjashizzle
Posts: 9
Joined: July 31st, 2012, 4:02 am

Re: Mouse over label?

Post by Ninjashizzle »

Ahh I see, thanks man, for all your help. I'll try to add it to my next skin if I do another or add it at a later date.
User avatar
KreAch3R
Posts: 608
Joined: February 7th, 2011, 7:27 pm
Location: Thessaloniki, GR

Re: Mouse over label?

Post by KreAch3R »

Glad to help. :) Note that, with the latest Rainmeter release, you might be able to do what the .lua script does with native Rainmeter. Just food for thought, because I won't tackle that.

Happy skinning!
Inactive, due to life changes. Send me a PM for any question.

Desktop DeviartArt
Image