Overlapping buttons when resizing window

When I resize the window the buttons overlay.


Graph in resized window.
Screen Shot 2022-01-21 at 10.04.51 AM

How can I prevent this from happening? I set the coordinates and the anchors but when the size of the windows change the coordinates get expanded.

Did you ever find an answer to this ?