Start working from the top, one by one:
- do not
Size To Content
- do not
Wrap Text At
(set to 0) - set
Min Desired Width
to be larger than the text:
I’ll admit I’m not sure what shenanigans happen under the hood with both size box and scale box meddling with desired size.
- does it manifest without the outline / shadow, too?
- try adding the
Force Layout Prepass
node on Construct, targettingSelf
.
- are any of the settings of the component modified from the defaults, namely:
- is the component in Screen Space? Looks like it, asking to be sure
- is there anything we need to know about the component’s owner? The way it’s spawned - scaled, perhaps? Probably irrelevant if the component is in the Screen Space.