Adding child widgets, only some elements show up?

Hi! I have a widget that I dynamically add to a different widget at runtime.



It works for showing the image, but for some reason, the text block doesn’t show up, does anyone have any suggestions?

Is it true with other fonts?

It happens with other fonts too, yes. If that’s what you’re asking?

A double-check list:

  • text is Visible
  • text is not fully transparent
  • no funky business in Init / (Pre)Construct
  • search for the Text Block references in all blueprints (the binoculars) and see if another blueprint fiddles with it

If the abovementioned sanity check is satisfactory, use the Widget Reflector and see what is happening to the misbehaving Text Block:


A crash course on Reflector:

Cheers! I finally figured it out.

I was missing a really simple step, my Add Child node was hooked up to the image content, not the widget as a whole.

1 Like