Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

9 slicing doesn't work as intended

$
0
0
Hello everyone!

I am trying to slice a UI image so that it can be scaled and stretched without the edges losing detail.
But when I do that, the corners of the 9 slice get stretched, too.
How do I avoid that? Am I doing something wrong or is this to be expected?

Only the middle rectangle should be stretched on both axes and the borders should be stretched on one axis, except the corners, which shouldn't be stretched at all.

Software used:
Unity 5.4.2f1
OSX 11.6


Best wishes,
Shu

Image of...

9 slicing doesn't work as intended

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>