How can I parent/set owner of a dynamically created widget?

Hi,

I have a widget that contains a vertical box and has a function that gets an array as a parameter.
Now I want to populate the box with widgets that will display then details of the array data.
When I create these widgets in the function and add them to the viewport, they appear top left corner.
This kind of makes sense as their default position is 0/0 and they are not parented to/owned by the vertcal box.

My problem is now that there seems to be no BP node that would let you parent a widget to a specific other widget.
There is a GetParent and also a RemoveFromParent function, but nothing to set this value…

So, how do I do this?
Any help is appreciated :slight_smile:

Cheers,
Klaus

Nevermind :slight_smile: Figured it out.
The container widget provides the AddChild method. Somehow I thought the Child would add to the container, but its vice versa…
Maybe I shouldt do Blueprint so late at night :slight_smile: