How make the gui button dont auto 'change position'

Hello! Im doing a window system thats dragable and resizeable, i was testing it and when i tried resizing it and the buttons where auto positioning, if you dont understand heres the screenshot below:
image


I have no idea on how to fix it.

The way you edit your GUI’s in Studio vs. how they will be in the actual game are different. Use the game emulator in the top menu under the “Test” section in Studio in order to set them to the right position. I’d also take a look at scalar position vs. offset position, as those take into account the actual positions as well.

You should probably be dynamically changing the positions of the buttons in accordance with the size of the ScreenGui/Frame so that they are always at the end of aforementioned ScreenGui/Frame.

No, i think theres a built in tool to do that withou scripting

Yeah, UIGridLayout instance, place it inside the frame/scrollingframe.

Still not working, i need to change some property?