I’m trying to make a short, tower defense-like game, where you have a team and you need to deploy your team on the field.
I’m using a list view to show all the operators, showcasing their deployment cost, class icon and general icon. When you click on it, the operator should be deployed.
The problem is that the images of in the list (bottom left) get mixed up. Although in the print string (text, top right) they appear just as they should, in the list view, the images appear mixed up, and only the numbers and actor spawned on click are well placed.
They keep getting mixed up at random at every change in the layout, and sometimes they work, sometimes they don’t.
For example, in this image, the green face should have been in the second square, the red in the third, and yellow in the first. The same goes for the small class icons right next to the text displaying the cost of the unit.
