AddChild from blueprint not working

1)in your life widget give a name (lets say “someElement”) and make to be variable to the element you are going to add further to the container. It is not whole your widget, it’s f.i. a button or some container that contains the button, some textedit etc.
2)after creating an instance of the widget get those element - someElement - from it and pass it to the addChild