I need help using 9-Slice to put rounded edges on my imagelabel, ive been researching and messing around with it but cant seem to figure out how to use it, someone explain!
I’m sorry, I do not have any experience with that… but it would be much simpler to use this plugin:
at least, that’s my opinion, good luck!
I’ve tried using that plugin before, but for some reason it doesn’t want to work for me
I don’t use that plugin, because what it does isn’t use nine slice, but it uses an image which has transparent edges that you can scale. It doesn’t make ImageLabels rounded.
You have to find out how big your image is.
For example, if your image is 800 by 800 pixels, you would put this as the slice center:
400,400,400,400
Another example is when you have an image that is 400 by 800 pixels.
You would have a slice center as so:
200, 400, 200, 400
Basically what you do is you divide the pixels by half.
Actually Roundify does use nine-slice. To prove, try resizing the roundify-ed image. no matter how u re-scale, the image will remain with same corners
I did that and this is the result I get! I dived by half (original is 56x56) and got 28 as the center. Now when I switch to 1080p it goes to 67x67 and this happens:
1920x1080p:
What’s going on?