Widget can't have children

I’m trying to create a widget that is essentially the button but with my own personal blueprint. But when I add the widget to other widgets it won’t let me add children to the widget I create. It says “widget can’t have children.” Is there a way to make it so a user created widget can have children?

My button widget:

Trying to add a child to that widget:

1 Like

Anybody got an update on this? I’m having the same issue.

If you add a widget child to a widget, it cannot have a child. The way to add children to a child widget is to add them in the actual child widget itself. So what I mean is that if you have Widget B inside widget A, widget B cannot have children added in widget A, but widget B can have children added if you are editing it in widget B itself. Hope that makes sense. :slight_smile:

I know this is from almost two years ago, but since no one else seems to have posted the solution:

If you want to add children to an instance of a user widget, you need to first add a Named Slot component inside your user widget.
You will then be able to place child widgets inside that named slot when using instances of that user widget.

226944-namedslot.png

14 Likes

Thank you so much

Hey guys,

im on UE5 and I tried with your solutions but it is still not working … help…