Clean UI Edge using sprite

Hello,

I’m trying to do some UI Panel with clean Edge like in this Image (UI exemple):
On gimp when I zoom in I see it’s only one pixel large, the corners are full white et the edges are like a grey with some transparency.

I tryed to do my own sprite to use, it’s a 10X10:
But when I tried to use it on a gameObject UI element I can’t have just one single pixel stroke. Insteed there is some kind of blur from the with corner and the edge thickness is 2 pixel large on TOP and left, and 1 pixel large on the bottom and right.

I supposed there is a option or somthing, I tried to play with option without success.

Thanks for your help.



8495627--1130750--2022-10-07 09_25_40-Window.png

Hello,
Ok I found the option for the blur Problem, you have to use those two options :

But I still have the size problem :
When the image is using the “Sliced” option:

en when simple with preserv aspect:

with this sprite setup the edge should not be strech right ?

Any Idea?
Thanks for your help