Widgets created on top of each other in vertical box

I am making a scoretable, creating widgets via blueprints, their parent is a vertical box, but when created, they are layered on top of each other and not distributed across the vertical box.

327903-untitled.png

Here’s blueptint code:

And this is not multiplayer problem, because this happens only when Im creating widgets with for-loop

Not that it should matter much but can you try it like this instead:

327893-screenshot-1.jpg

Other than that I’d look for a culprit in the actual child layout or the Vertical Box’s parent. Could you show the hierarchy of the latter?

1 Like

Unfortunately it didn’t work. Here is widgets hierarchy:

327895-screenshot-2021-01-23-145313.png

So, I solved this problem. The problem was that unreal somehow incorrectly reads the height of the custom widget and therefore makes incorrect paddings between the lines. Adding paddings manually solved the problem: