how can I keep a button scale the same if I change the canvas size of the scrolling frame (if i need to add more buttons in the future) if i set the scale to .5 and .5 when I expand the scrolling frame the scale gets messed up and the button becomes stretched how can I fix this?
Thanks!
1 Like
I’d recommend 2 plugins that I mostly find useful int this kind of situation:
-
https://www.roblox.com/library/150152826/Gui-Rescaler
or -
https://www.roblox.com/library/1496745047/AutoScale-GUI
this is of course if you don’t want to bother with Offset
1 Like
Use UIGridLayout, put it into your scrollingframe and change cellsize to the grid size you want to set to.
The cell padding is basically spaces between each grid, you can set this to 0 to disable it.
And then, in each grid, put UIAspectRatioConstraint to keep the size in a 1:1 ratio.
1 Like