It is currently December 10th, 2018, 6:39 pm

[Suggestion] Default Skin Positions Without Using Layouts

Report bugs with the Rainmeter application and suggest features.
User avatar
SilverAzide
Posts: 502
Joined: March 23rd, 2015, 5:26 pm

[Suggestion] Default Skin Positions Without Using Layouts

SilverAzide » November 30th, 2018, 9:58 pm

Hello, a suggestion for an enhancement....

Currently, when installing a new .rmskin package, if you want the skins to start up in a specific location/z-order/etc., the only way to do this is to either use a layout or to add a bunch of code in the skin itself to position the skin automatically. The problem with these options is that if I load someone's layout, it will blow away MY current layout. If I choose to ignore the layout included with the skin pack, then all the skins will show up at 0,0 unless there is positioning code in the skin.

So, how about a way for a skin author to add some default positioning info directly in the skin? This would ONLY be used the very first time the skin is loaded. Once the skin is loaded and the user has made any changes, the user's preferences would be used. In other words, the default positioning settings would only be used as the initial values the first time Raimmeter adds a skin to Rainmeter.ini.

These new positioning settings would essentially be all the ones currently stored in a layout (WindowX/Y, AnchorX/Y, AlwaysOnTop, Draggable, etc.). As a suggestion, these defaults could be placed in the [Rainmeter] section of the skin, like so:

Code: Select all

[Rainmeter]
AccurateText=1
Update=1000
DefaultWindowX=50%
DefaultWindowY=50%
DefaultAlwaysOnTop=-2
; etc...
My apologies if this capability already exists!
DeviantArt Gadgets More...
User avatar
jsmorley
Developer
Posts: 18445
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: [Suggestion] Default Skin Positions Without Using Layouts

jsmorley » November 30th, 2018, 10:25 pm

Not opposed to this in theory. We will put it on the radar...