TextButton Not Scaling with Frame (Solved)

I’m going to try my best to explain what is happening here.


I have colour-coded the display to the explorer.
Blue is my ViewportFrame where I have a car.
Green is the button you click to select the car.
And then red is the entire frame it sits in.
Then above that is my ScrollingFrame which will have all of the cars in it.

Whenever I shrink the display, the button slips behind the bounds of the frame and takes the text with it.


And the ViewportFrame does too.
So the frame shrinks to fit the screen but the items it contains don’t.

I have tried reorganising everything multiple times and editing the properties of all the items but nothing is working.
I tried using the size constraints and other similar things but either they don’t work, or I don’t know how to use them.

If anyone knows anything that could help, please let me know.

By the way, the UIListLayout inside of the ScrollingFrame organises the car frames when there are multiple of them.

Are you setting the button’s and ViewportFrame’s size with Offset or Scale? If you’re using offset, changing it to scale should fix it.

I changed it to scale but nothing happened