How to scale the UI Texture properly?

My container textures aren’t being scaled properly, how can i fix that?, hope yall can help me, thanks

image
image

I cannot help with so few element. What is your element ? Show use the node tree, the properties of your container, well something to explain the situation.

Would be interested in helping, but yeah, we’ll need more information including your scene tree, and maybe some visuals to show the rest of the screen!

I found the way to fix it is using NinePatchRect, thanks for reading!