Download

How do I create a tiling border in UMG, where the edges TILE not stretch?

I need to create a tiling border in UMG, where the sides of the border just tile a fixed pattern image over and over and the corners are fixed images. I do not want the inner image to stretch, I can use a image box or border, but they stretch the image even though the draw as border option DOES state the sides tile (which they don’t, they still stretch it just doesn’t draw the center) ) Is there a way to do this? It seems like there should be given how basic it is.

You need to set the margins correctly for this to work. Have a look here for more info:

https://forums.unrealengine.com/development-discussion/content-creation/1592156-9-slice-scaling-umg-image