Announcement

Collapse
No announcement yet.

Add child node

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Add child node

    Is the Add child node broken? Or am I missing something? No matter how much I research or how many tutorials I watch. I can't find a way to make it work. And Yes I have my Grid panel set to is Variable. The weird thing is I can add these created widgets to the viewport fine. But no matter what trying to make them children of the Grid Panel makes them not spawn at all. Click image for larger version

Name:	piccy2.jpg
Views:	78
Size:	153.0 KB
ID:	1657124

    #2
    What happens if you manually add an item to the grid inside the UMG editor?

    Comment


      #3
      I can add them manually just fine. But using code to dynamically do it always fails at the add child node.

      Comment


        #4
        So I got this working and I am going to leave it here for others. I discovered you can't add your code to the actor you want to be the parent. For add child to work it has to be an actor separate to both the child and the parent. For me doing this made it work instantly.

        Comment

        Working...
        X