There seems to be some weird behavior when using DrawAs: Border with a UMG button as seen below. This is of course without a custom image set on the button.
Hello ,
I was able to reproduce this issue on our end. I have written up a report ( UE-17345) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for our time and information.
Make it a great day
So this still seems to be an issue in 4.13, but also when using the new Sprite Sheets for UMG, I guess it stems from the same problem.
- Get a Texture you want to use as a Sprite Sheet
- Extract a Sprite from this.
- Use the Sprite as an image for a UMG Image or Button etc.
- Set the Draw As to Border.
- Notice it uses entire image instead of just the portion extracted.
Please note ‘Box’ works as intended, I believe Border is supposed to work in the same way (Aside from the tiling instead of stretching and missing the middle). However Border is using the entire sprite sheet when it should only be using the extracted image.
Just wanted to bring this up again with 4.13, as it’s a bigger issue now when using the new sprite sheet for UMG feature.
Hello Hobble,
I have provided a link to the public tracker. It appears that this issue has not yet been resolved. Please feel free to use the provided link for future updates. Thank you for your additional information and time.
Link: Unreal Engine Issues and Bug Tracker (UE-17345)
Make it a great day
The issue is still present in UE 4.17.1.
Can you believe it’s been 2 years since this was reported? It was marked automatically as WNF since it was inactive, but still… You’d think someone over at Epic would’ve SEEN it by now.
I have reopened this issue due to renewed interest. You can use the same link to the public tracker for future updates.
Make it a great day
Hello there,
I found a workaround for this bug. It is a little ugly but it does the job.
I’ll let here the workaround for anyone else who encounters the same problem:
instead of setting the border image to none, you can set the border image to a white image of 1px, and then you do your work as the image was set to none.
If the appearance isn’t the same as the umg element where the bug is not present, you can use the margin for fixing the border dimension.
For example, in my case i set the image to 1px and the margin to 0.5.
I am having the same issue in 4.21
I’m also having the same issue in 4.21.
Hi there! I don’t know if you already found the solution to that, but I just modified the image to another one with the “UserInterface” selected and, after choose “Border”, is just adjust the “margin” to values between 0.001 and 0.009.