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
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