Why is my UMG textbox background transparent?

I’ve just added a textbox to a new UMG widget and set the background colour, but when I add the widget to viewport at runtime the background of the textbox always turns half transparent and I can see the level behind it.

The render opacity on the textbox and the parent widget itself are both set to 1.0 and all of the brushes for the background images all have 1.0 as the alpha as well.

The only things I have found that “fix” it is if I set the textbox to be read only or if I set the hover/focused backgrounds to be an image. But I don’t want any of those things. I want an editable textbox that just has a solid colour as its background.

I want an editable textbox that just
has a solid colour as its background.

Not sure why it behaves like this (I don’t think you’re inheriting anything from the hierarchy) but the easiest way to achieve the goal and move on would be to:

  • set the text background alpha to 0
  • wrap the text with a border
1 Like

Yeah they stil havent resolved the problem and also they nee to add input section to the text as well so you can choose if its numeric or not and so on but for a simple fix add a button to your canvas and place the text box on top of the button and presto you have a background you can ajust or add image it works pretty good .