Hi,
So I have a simple widget, a border with some text inside it. The idea is that the border will act as a background for the text. The problem is that the border doesn’t scale to the text correctly. Sometimes the border is way too long, and sometimes it’s too shot like in the screenshot below. This changes based on the viewport size. The size of both elements seems to be exactly the same so I’m not sure what’s going on… Is there a workaround to this bug or is text on a background impossible in Unreal Engine?
This is the hierarchy:
Thanks
(I’m using UE 4.27.2 but I assume that this bug exists in UE5 too.)