It is currently March 28th, 2024, 7:56 pm
Trailing Zeros
-
- Posts: 33
- Joined: May 1st, 2015, 1:25 am
Re: Trailing Zeros
Is is possible to change the default anchor of the skin? So images won't get cut off when out of the TOPLEFT area?
-
- Posts: 1740
- Joined: November 13th, 2012, 9:53 pm
Re: Trailing Zeros
the answer is probably: no.
i have to admit i have no idea whether i understood the question. i am sure others are more capable to help you. good luck with your project.
i have to admit i have no idea whether i understood the question. i am sure others are more capable to help you. good luck with your project.
-
- Posts: 33
- Joined: May 1st, 2015, 1:25 am
Re: Trailing Zeros
I made a workaround with giving my skin a custom padding left and top. It's just weird that when i want to show a picture it shows up fine below the BOTTOMRIGHT corner, and it gets cut off above the TOPLEFT corner.moshi wrote:the answer is probably: no.
i have to admit i have no idea whether i understood the question. i am sure others are more capable to help you. good luck with your project.
-
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Trailing Zeros
That is because a skin window starts at 0,0 the top left corner. It can always grow to the right and down, but a skin can never "grow" in a negative direction.Resike wrote: I made a workaround with giving my skin a custom padding left and top. It's just weird that when i want to show a picture it shows up fine below the BOTTOMRIGHT corner, and it gets cut off above the TOPLEFT corner.
I really don't understand the question to be honest. You have an image that you are setting a negative X and / or Y on? Why? X and Y can NEVER be negative, unless you mean to cut them off.