Hello, I am once again asking for your support.
I have tried to put buttons and almost blank UIElements (only set size and Text as child element) into a ListView however I am not sure if this is supposed to even work because it behaves very strange.
Basically, the whole automatic positioning and sizing does not seem to work, buttons seem to have a height of 0 (only seeing the borders) and they all stack on top of each other. The UIElements also just stack up.
Using regular Text everything works fine. I tried this by adjusting sample 48, I changed the loop which fills the ListView to this:
for (int i = 0; i < 32; i++)
{
    auto* button = new Button(context_);
    button->SetStyleAuto();
    auto* text = new Text(context_);
    text->SetStyleAuto();
    text->SetText(ToString("List item %d", i));
    text->SetName(ToString("Item %d", i));
    button->AddChild(text);
    //button->SetStyleAuto();//setting style here doesnt change the behaviour either
    list->AddItem(button);
}   
Mind you that I can likely work with just Text elements, just wondering if this is working as intended or I am doing something wrong.
Thanks!