How do I make only the center of the image stretch (not any of the edges)?

Hi, I’m working on some ui and made a sprite for the edges (white picture below), i however cannot figure out how i should put the borders so that the left side wouldn’t stretch. (lower orange picture). I’d want it to stretch in the same way as the right side, keeping the slant constant size all times. Is this possible? if so, how could I do it?


8019215--1032614--upload_2022-4-4_15-32-18.png

EDIT: Nevermind, I got it fixed. Basically I had to make the picture bigger, so that there was enough vertical space to properly separate the 2 parts, now it works well.

If you could edit your post again to change from Help Wanted to Solved, it would be appreciated since right now there is no way of telling until you click on your post.

Yeah, did that now. (didn’t just realize to do it earlier)