This question was
closed Mar 26, 2016 at 08:03 PM by
Toon_Werawat for the following reason:
The question is answered, right answer was accepted
How can I make Image border not change a size?
Hi, I'm try to make round button dialog. But I got a problem! When size of it change. The border is look bad. Anyway I make them stay same rounded border?
untitled.png
(14.8 kB)
Comment
Best Answer
Answer by Tomer-Barkan · Sep 28, 2015 at 04:11 PM
In this thread and there's also a linked Unity Tutorial in it, they explain how to "9-slice" your sprite - splicing it into 9 sections, corners that don't expand, sides that expand in one direction, and center that expands in all directions. This is what you're looking for.
http://forum.unity3d.com/threads/how-to-create-a-9-sliced-sprite-and-use-it-on-new-gui.263751/