x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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: alt text

Trying to add a child to that widget: alt text

Product Version: UE 4.10
Tags:
more ▼

asked Feb 25 '16 at 06:13 AM in Blueprint Scripting

avatar image

NecroTheif
43 5 5 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

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.

alt text

namedslot.png (11.5 kB)
more ▼

answered Jan 13 '18 at 11:58 PM

avatar image

Nameless Voice
81 2 10 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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

more ▼

answered Jun 15 '16 at 01:51 PM

avatar image

Sheeplie
37 7 9 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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. :)

more ▼

answered Jun 15 '16 at 07:17 PM

avatar image

JTrocks55
70 6 11 17

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question