Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 482

How can I do scale Skin Size with pulling

$
0
0
Hello Rainmeter friends, :welcome: :D :p

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. :oops: :???: Enlarging using the mouse wheel option is " too static " for me. :thumbdown:



Thanks for your help Kind regards :rosegift: :great:

Rookie 89

Scale with MouseScroll:
size-scroll2.gif

Skin-Code:

Code:

[Rainmeter]Update=1000AccurateText=1DynamicWindowSize=1;-------------------------------------------------[Variables]background_W=300background_H=70transparenz=150ScaleFactor=1.0[Background]Meter=ShapeShape=Rectangle 2,2,#background_W#,#background_H#,10 | Fill Color 0,0,0,#transparenz# | StrokeWidth 2 | Stroke Color 0,0,0,140 | Scale #ScaleFactor#,#ScaleFactor#,0,0,0,0AntiAlias=1DynamicVariables=1MouseScrollUpAction=[!SetVariable ScaleFactor "(Clamp(#ScaleFactor# - 0.05,0.2,2.5))"][!UpdateMeter *][!Redraw]MouseScrollDownAction=[!SetVariable ScaleFactor "(Clamp(#ScaleFactor# + 0.05,0.2,2.5))"][!UpdateMeter *][!Redraw][Icon_Rainmeter]Group=HEADLINEMeter=ImageImageName=Rainmeter.pngX=(Ceil(20 * #ScaleFactor#))Y=(Ceil(12 * #ScaleFactor#))W=(Ceil(46 * #ScaleFactor#))H=(Ceil(48 * #ScaleFactor#))AntiAlias=1DynamicVariables=1[Test String]Meter=StringFontFace=ArialFontStyle=BOLDFontColor=255,255,255,255InlineSetting=Shadow | 1 | 1 | 2 | 0,0,0,255FontSize=(Ceil(25 * #ScaleFactor#))X=(Ceil(180 * #ScaleFactor#))Y=(Ceil(20 * #ScaleFactor#))Text=RainmeterAntiAlias=1StringAlign=CenterDynamicVariables=1

Statistics: Posted by Rooky_89 — October 20th, 2024, 9:39 am — Replies 9 — Views 328



Viewing all articles
Browse latest Browse all 482

Trending Articles