Add an element to the top of a vertical box
I want to be able to add a new element to a vertical box at runtime and it at the top while the other elements shift down
asked Dec 20 '17 at 11:33 PM in Blueprint Scripting
Hey there, does it have to be a vertical box? You can do this easily with Grid Panel since you can control the indexes. Afaik you can't do that natively with vertical box, but you can kind of hack it. After you add a child into the vertical box you save all of the items into an array and you clear the vertical box, invert the array and readd them again. It's not pretty but it works.
Follow this question
Once you sign in you will be able to subscribe for any updates here