I have a question about enlarging the Rainmeter skin by dragging on the corners? [For more flexibility]. Either in the Y direction or in the X direction. I saw an example https://forum.rainmeter.net/viewtopic.php?t=40918#p208827. Enlarging using the mouse wheel option is " too static " for me.
I'll let you implement the above in your skin or do this for other corners if you want, but obviously the latter would also involve moving the skin / changing the skin anchor accordingly, like you noticed in the other thread.
Unfortunately, I can't make the corresponding elements bigger or smaller when dragging. I also have the problem that the skin scales back to the base size when it is updated. I'm not really getting to grips with it yet. What am I doing wrong or what have I forgotten [To do with Scaling is simpler ]
Rooky_89 wrote: ↑Yesterday, 4:17 pm
Unfortunately, I can't make the corresponding elements bigger or smaller when dragging. I also have the problem that the skin scales back to the base size when it is updated. I'm not really getting to grips with it yet. What am I doing wrong or what have I forgotten
When you drag it you should alter the value of the variable elements (position and size of meters), same way as you did in your original code. Even if this is far from being perfect, here is a fist example. What I couldn't deal with is what do to when changing too much the aspect ration of the skin. There are solutions to this as well, but so far I did just simple things. So try the following code please and let me know what you trhink:
balala wrote: ↑Yesterday, 6:30 pm... try the following code please and let me know what you think...
That looks pretty good
The "scaling" is done by mathematics. This is how certain values are created. Is it a kind of backward scaling, so to speak? With normal scaling, size * scaling.
- If you make it too big, the "Rainmeter" font will be bigger than the frame. Does it need a MinValue here? MaxValue?
- How i can automate the calculation of different sizes [dividend factor] icons, fonts, line measures...
- I love detailed Information. Enlightenment is everything. Who ask many time, there knows a lot [or has not understand it]
____________________________________________________ How can you avoid this? [Background Scales, but String stays on Size]
Screenshot 2024-10-21 231449.png
Screenshot 2024-10-21 232013.png
You do not have the required permissions to view the files attached to this post.
For instance by replacing the FontSize option of the [Test String] meter by this: FontSize=(Min((#background_W#/12),(#background_H#/2.8))).
And add a PreserveAspectRatio=1 option to the [Icon_Rainmeter] Image meter.
There's a way to keep all meters relative in size and position, but I think there's no post about it since I couldn't find it. I used it to make my HSLidersSTA skin so it always keep meters in place whatever the size or aspect ratio the skin is.
Hold on while I make a test skin, to be honest is a little complicated, but once is set up it's pretty easy to understand.