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

Images and Animations • Re: How can i get a white line around images and ability to move this skin

$
0
0
Please properly pack your skin so others can test it.

Also code, if provided, needs to be embedded using the code flag (the </> icon).

Like this

Code:

[your code goes here]
Skins move around the screen just by dragging them with the mouse, unless you did something like making the skin occupy the whole width and height of you screen.

To answer your first question, you can add another image meter to act as your background.

Code:

[BG]Meter=ImageSolidColor=255,255,255W=220H=120[Image1]Meter=ImageSolidColor=255,0,0X=10Y=10W=100H=100[Image2]Meter=ImageSolidColor=0,255,0X=RY=rW=100H=100
Your Background would have to be some pixels bigger than your images, and you'll have to move your images accordingly.

Also you can't move your skin because the X and Y cordinates you are using are wrong, X and Y should be 0 for the first image (which would be your background), then x=somevalue y=somevalue on the second image meter and finally X=R Y=r for the third image meter. R means relative, so it would be right next to it read X,Y on the docs.

You can check on the example code above, the [BG] meter doesn't have X nor Y options, that means both are 0. Then Image1 X=10 Y=10, which means it is moved 10 pixels to the right and 10 down. Then the final image position is relative to the first image.

Since the [BG] is 20 pixels bigger on both sides, the images will be perfectly centered on a frame 10 pixels wide on every side.

Statistics: Posted by RicardoTM — Yesterday, 11:40 pm



Viewing all articles
Browse latest Browse all 1409

Trending Articles