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:
asked Feb 25 '16 at 06:13 AM in Blueprint Scripting
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.
Anybody got an update on this? I'm having the same issue.
answered Jun 15 '16 at 01:51 PM
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. :)
answered Jun 15 '16 at 07:17 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here