So I've been working on a skin recently and wanted the functionality to collapsing and expanding the entire skin by clicking on a certain symbol.
Now I've run into two issues here.
This is the skin: click me!
As you can see I've got two issues essentially. First one is with collapsing the skin. The arrow (icon_collapse with the hoverversion icon_collapse_h) does not disappear with the rest of the skin and almost the same issue exists with right clicking the arrow to get to the config mode. The arrow pops up once again even though it is supposed to hide.
This is the code for expanding:
Code: Select all
[icon_start]
...
LeftMouseDownAction=!Execute [!HideMeter icon_start][!ToggleMeterGroup BarIcons]
Code: Select all
[icon_collapse_h]
...
LeftMouseDownAction=!Execute [!HideMeterGroup BarIcons][!HideMeterGroup BarIcons_hover][!ShowMeter icon_start]
Code: Select all
[Rainmeter]
Update=100
[Variables]
Skin=Chrotesquian_2
[icon_start]
Meter=IMAGE
ImageName=start.png
Path="#ROOTCONFIGPATH#\img\"
X=114
Y=0
LeftMouseDownAction=!Execute [!HideMeter icon_start][!ToggleMeterGroup BarIcons]
[bar]
Group=BarIcons
Meter=IMAGE
ImageName=bar.png
Path="#ROOTCONFIGPATH#\img\"
X=0
Y=0
Hidden=1
[icon_config]
Meter=IMAGE
ImageName=config.png
Path="#ROOTCONFIGPATH#\img\"
X=131
Y=5
Hidden=1
MouseOverAction=!Execute [!ShowMeter icon_config_h][!HideMeter icon_config]
MouseLeaveAction=!Execute [!HideMeter icon_config_h][!ShowMeter icon_config]
[icon_collapse]
Group=BarIcons
Meter=IMAGE
ImageName=arrow.png
Path="#ROOTCONFIGPATH#\img\"
X=128
Y=0
Hidden=1
MouseOverAction=!Execute [!ShowMeter icon_collapse_h][!HideMeter icon_collapse]
MouseLeaveAction=!Execute [!HideMeter icon_collapse_h][!ShowMeter icon_collapse]
[icon_collapse_h]
Group=BarIcons_hover
Meter=IMAGE
ImageName=arrow_h.png
Path="#ROOTCONFIGPATH#\img\"
X=131
Y=5
Hidden=1
LeftMouseDownAction=!Execute [!HideMeterGroup BarIcons][!HideMeterGroup BarIcons_hover][!HideMeter icon_collapse][!HideMeter icon_collapse_h][!ShowMeter
icon_start]
RightMouseUpAction=!Execute [!HideMeter icon_collapse_h][!HideMeter icon_collapse][!ShowMeter icon_config]
As stated earlier I can't figure out why this is happening. I say hide and it decides to stay every time.
I surely must be doing something terribly wrong and just can't see it.
Kind regards,
Chrotesque
Edit: I do realize the config-icon is terribly out of place and not aligned at all, I didn't bother due to the issue at hand to be honest!