Hi, I made a skin and want to share, it's the .rmskin extension, but how to make auto positioning so that the bar should be at the bottom of any monitor resolution?
Sorry for my poorly english, I hope you understand
It is currently April 27th, 2024, 5:34 am
[Solved] Auto positioning
-
- Posts: 2
- Joined: April 29th, 2011, 11:10 pm
-
- Developer
- Posts: 1721
- Joined: July 25th, 2009, 4:47 am
Re: Auto positioning
You'll need to create a theme file to go with your skin. There, you can define the "Y" position of the theme's active skins, using Rainmeter's global variables. For example, if your bar skin is 33 pixels high, you just need a section like the following:
See here to find out how to add the theme file to your .rmskin, and make it load automatically when installed. :)
Code: Select all
[ConfigName]
Active=1
Y=(#WORKAREAHEIGHT#-33)
-
- Posts: 2
- Joined: April 29th, 2011, 11:10 pm
Re: Auto positioning
Thanks a lot!Kaelri wrote:You'll need to create a theme file to go with your skin. There, you can define the "Y" position of the theme's active skins, using Rainmeter's global variables. For example, if your bar skin is 33 pixels high, you just need a section like the following:
See here to find out how to add the theme file to your .rmskin, and make it load automatically when installed.Code: Select all
[ConfigName] Active=1 Y=(#WORKAREAHEIGHT#-33)