It is currently May 3rd, 2024, 7:00 pm

Auto Spacing Meters?

Get help with creating, editing & fixing problems with skins
User avatar
digitaLbraVo
Posts: 3
Joined: December 1st, 2012, 11:59 pm

Auto Spacing Meters?

Post by digitaLbraVo »

Okay I have searched around a whole bunch lately since I downloaded a skin I liked and found out the fun way none of the network stat displays worked... So I sat down and started learning all this fun stuff so I can say I fixed it myself the fun way!

To make a long story short I actually got it all working, proud if I could say so myself, but now I'm at the point of styling the different meters and how they on screen. My laptop's resolution is 1366x768 (AO756 netbook, wooo) but short of having to change and adjust each meter's coordinates (pixels I'm thinking they are, right?) is there a short hand way of simply telling Rainmeter: "This is my resolution, now evenly space all meters on screen as necessary..." or do I have to keep playing around in VI and refreshing periodically until I've got it all to fit?

Any advice is greatly appreciated! Awesome program!
Image
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5407
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Auto Spacing Meters?

Post by eclectic-tech »

Because any skin can be added to a desktop layout, most are written with "generic" positions (default is X=0 Y=0) then they can be positioned wherever the user wants them; the only exception would be "suites" of skins.

So there is no "magic button" or skin setting, other than "Snap to edges" to automatically aline and space meters in skins, unless the author coded that function (see Omnimo)...

So what you are doing is what most users have to do. Once you have it set, you can save the Layout under Manage skins... Rainmeter will remember the last settings and re-load those when it starts.
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Auto Spacing Meters?

Post by MerlinTheRed »

There is an important distinction to be made here: Do you want to position skins or individual meters inside a single skin? Skins can be positioned relatively to your screen size by using relative settings in your Rainmeter.ini. See WindowX/Y and AchorX/Y here: http://docs.rainmeter.net/manual/settings/skin-sections

If you want to position meters inside a skin relative to the screen size, that's probably much harder to do. You'll have to change the X and Y setting of every meter to use the #SCREENAREAX/Y# or #WORKAREAX/Y# variables. See here for more details: http://docs.rainmeter.net/manual/variables/built-in-variables#MonitorVariables
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
User avatar
digitaLbraVo
Posts: 3
Joined: December 1st, 2012, 11:59 pm

Re: Auto Spacing Meters?

Post by digitaLbraVo »

MerlinTheRed wrote:There is an important distinction to be made here: Do you want to position skins or individual meters inside a single skin? Skins can be positioned relatively to your screen size by using relative settings in your Rainmeter.ini. See WindowX/Y and AchorX/Y here: http://docs.rainmeter.net/manual/settings/skin-sections

If you want to position meters inside a skin relative to the screen size, that's probably much harder to do. You'll have to change the X and Y setting of every meter to use the #SCREENAREAX/Y# or #WORKAREAX/Y# variables. See here for more details: http://docs.rainmeter.net/manual/variables/built-in-variables#MonitorVariables
Weird I never got an email alerting me to your response.

Yeah in my readings I saw something about using variables or relative references to space things and while I haven't gone so far as to implement on this heavily modified skin (the code organization the author used is painful...) I think I could achieve what I wanted if I went so far as to try it.

Thank you for the input fellas.
Image