Hello Guys, i have a problem with ScrollView.
everytime that i try to Add Element using AddChild, the list won’t work, the list won’t rezise and not showing the bars
example:
ScrollView* scroll = new ScrollView(context);
scroll->SetSize(100,50);
for(int i=0;i<100;i++){
UIElement* element = new UIElement*(context);
Text* text = new Text(context);
text->SetText("TEST");
element->AddChild(text);
scroll->AddChild(element);
}
here is Screenshot of problem