I’m trying to create dynamic UI panel with custom number of buttons based on player choice. My problem is, that i want to be able arrange this buttons right-to-left and i need them to be wrapped by a Horizontal box. Horizontal box arrange its children left-to-right by default and i found the only way to achieve that - by setting scale X=(-1).
Unfortunately, if i do it this way, when i zoom in or scale the box children will start to disappear based on their unscaled position(illustrated on image).
Deleting the left spacer didn’t work for me, yet setting the right spacer fill-percentage value to a tiny value did. Even better, I found out you can even set it to zero and it’ll work perfectly with no offset added as you add more widgets/images to the horizontal box. I wouldn’t have figured that out without @maxxburman’s findings though, so all credits to him. Thank you!