I have 3 widgets of the same class in a horizontal box which is in my main UI widget. I want to change the size of them independently and adjust the positions when the size of a widget is changed to stop them from overlapping(I think this is because I have an overlay).
I am getting the overlay as a canvas panel slot and using the set size node since I couldn’t set the size of the widget directly (It just doesn’t work. this could be because I have the widgets in a canvas panel inside the horizontal box)
When I try to change the size of a widget, it gets bigger, but the positions of the corners change, making it go off screen and over each other.
How can I change the size and keep the corners in place while adjusting the position when other widgets change their size too?