Hey Guys,
So what i wanted to ask was how i can make my strings in my widget adjust their position automatically.
What i mean by that is my hud may display different strings at the same time and when second string will appear i want it to change its position automatically and go down but when the first text disappears the second one will take its position. just like in the Game “ARK”.
You want to add a new line of text into a container. This will push next line.
However, since you cannot insert at the beginning of a widget container but only add to the end, your new text would appear below rather than above the previous string.
You’ve got 2 solutions here.
A:
Operate on an array of strings instead, inserting a new string at index 0
Populate the list based on the array - bare in mind, here you will need to clear and repopulate the whole list