It is currently March 29th, 2024, 12:30 am

Adding skin borders.

Get help with creating, editing & fixing problems with skins
User avatar
kyriakos876
Posts: 919
Joined: January 30th, 2017, 2:01 am
Location: Greece

Adding skin borders.

Post by kyriakos876 »

Hello, I'm trying to add a border on every meter on my skin. For example border: W=100 H=100. Any meter bigger than that won't display fully but only the pixels in this border. Imagine having an image meter W=10 and H=10. If you were to put X=-5 the 5 first pixels will not be displayed. I want to do this all around the skin. If somebody had an idea I'd appriciate it if they could share. Thanks in advance.
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Adding skin borders.

Post by CyberTheWorm »

Have you tried to add a shape meter, you should be able to do that with that.
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
User avatar
kyriakos876
Posts: 919
Joined: January 30th, 2017, 2:01 am
Location: Greece

Re: Adding skin borders.

Post by kyriakos876 »

CyberTheWorm wrote:Have you tried to add a shape meter, you should be able to do that with that.
I will try this. Thanks for answering :)
User avatar
kyriakos876
Posts: 919
Joined: January 30th, 2017, 2:01 am
Location: Greece

Re: Adding skin borders.

Post by kyriakos876 »

CyberTheWorm wrote:Have you tried to add a shape meter, you should be able to do that with that.
I don't know why you recommended this but I get you didn't understand what I want to do. I tried this hoping I missed something on how the shape meter works.

I don't need a visual border, if that's what you understood. I need something like clipstring that can be used to "cut" a meter that exceeds the limits that will be set.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5384
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Adding skin borders.

Post by eclectic-tech »

You might also consider using SkinWidth/SkinHeight.
JSMorley posted a very informative example in that post. :thumbup:

Adding a border will not prevent meters from displaying outside of that border on it's own. :uhuh:
Restricting the SkinWidth and/or SkinHeight will prevent it. :great:
User avatar
kyriakos876
Posts: 919
Joined: January 30th, 2017, 2:01 am
Location: Greece

Re: Adding skin borders.

Post by kyriakos876 »

eclectic-tech wrote:You might also consider using SkinWidth/SkinHeight.
JSMorley posted a very informative example in that post. :thumbup:

Adding a border will not prevent meters from displaying outside of that border on it's own. :uhuh:
Restricting the SkinWidth and/or SkinHeight will prevent it. :great:
This is what I meant by "border" :D Thanks. That saved me!
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5384
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Adding skin borders.

Post by eclectic-tech »

You're welcome! :welcome: