It is currently March 28th, 2024, 10:24 am

Help: Switching wallpapers with a button

Get help with creating, editing & fixing problems with skins
Mino_el_Nukenin
Posts: 231
Joined: April 24th, 2020, 7:39 pm
Location: France

Re: Help: Switching wallpapers with a button

Post by Mino_el_Nukenin »

balala wrote: May 27th, 2020, 5:37 pm Which meter are you talking about? Give an exact name, please.
The [MeterSlidingConnectorS]. The last one before the Launchers meters.
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help: Switching wallpapers with a button

Post by balala »

Mino_el_Nukenin wrote: May 27th, 2020, 4:12 pm But it definitively doesn't slide back in, it just disappears.
No, it slides back as it has to. I recorded an animated gif and split that gif into frames. Attached you can find those frames. As you can see, the meter is sliding out properly.
Attachments
Frames.zip
(1.65 KiB) Downloaded 7 times
Mino_el_Nukenin
Posts: 231
Joined: April 24th, 2020, 7:39 pm
Location: France

Re: Help: Switching wallpapers with a button

Post by Mino_el_Nukenin »

balala wrote: May 27th, 2020, 7:39 pm No, it slides back as it has to. I recorded an animated gif and split that gif into frames. Attached you can find those frames. As you can see, the meter is sliding out properly.
I see. It's not the case for me.. It literally disappears instead of sliding back.
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help: Switching wallpapers with a button

Post by balala »

Mino_el_Nukenin wrote: May 27th, 2020, 8:28 pm I see. It's not the case for me.. It literally disappears instead of sliding back.
Try to increase the value of the SpeedS variable, into the [Variables] section. The initial SpeedS=1 is too low, use for instance SpeedS=100.
Mino_el_Nukenin
Posts: 231
Joined: April 24th, 2020, 7:39 pm
Location: France

Re: Help: Switching wallpapers with a button

Post by Mino_el_Nukenin »

balala wrote: May 28th, 2020, 8:07 am Try to increase the value of the SpeedS variable, into the [Variables] section. The initial SpeedS=1 is too low, use for instance SpeedS=100.
Yes perfect, tweaking this value did the trick. SpeedS=10 was plenty enough to have the effect desired. I totaly forgot this value when creating the skin. Thanks
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help: Switching wallpapers with a button

Post by balala »

Mino_el_Nukenin wrote: May 28th, 2020, 4:34 pm Yes perfect, tweaking this value did the trick. SpeedS=10 was plenty enough to have the effect desired. I totaly forgot this value when creating the skin. Thanks
Alright, I'm glad. :thumbup:
Mino_el_Nukenin
Posts: 231
Joined: April 24th, 2020, 7:39 pm
Location: France

Re: Help: Switching wallpapers with a button

Post by Mino_el_Nukenin »

Hi,
I'm working on another skin, and i'm having a weird problem.

The skin is composed of a button which is placed to the right of the skin.
The button trigger several hidden meters which are placed to its left.

I have made sure to have these meters placed before the button in the code.

The problem is this :
When i click the button to trigger the hidden meters, it triggers them but the button directly moves. And it moves back to its initial place on a second click (that hides back the meters).
I have tried forcing the size and height of the skin, but still no effects, the button always changes position on clicks which I don't want.

I join the skin for a better view.
Attachments
Skin_1.rmskin
(26.92 KiB) Downloaded 7 times
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help: Switching wallpapers with a button

Post by balala »

Mino_el_Nukenin wrote: June 3rd, 2020, 11:24 pm I join the skin for a better view.
I'm not entirely sure I follow. So, let's summarize. First: which skin do we have to load?
Mino_el_Nukenin
Posts: 231
Joined: April 24th, 2020, 7:39 pm
Location: France

Re: Help: Switching wallpapers with a button

Post by Mino_el_Nukenin »

balala wrote: June 4th, 2020, 6:09 pm I'm not entirely sure I follow. So, let's summarize. First: which skin do we have to load?
The one I joined in the previous post.
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help: Switching wallpapers with a button

Post by balala »

Mino_el_Nukenin wrote: June 4th, 2020, 10:36 pm The one I joined in the previous post.
There are two skins: NewFolder\Large Launchers5\Large Launchers 5.ini and NewFolder\Smal Launchers2\Saml Launcher 2.ini. Which of them? Or you have the same question related to both?
Post Reply