I am trying to add dynamically a child in a SScrollBox
but I get error.
TSharedRef<SScrollBox> MainCanvas = SNew(SScrollBox);
TSharedRef < SButton> TestButton = SNew(SButton);
MainCanvas->AddChild(TestButton); //AddChild not defined
It seems that addchild is not defined.
How could I add a widget inside scrollbox?