Resize Gui Objects depending on screen size with scrolling frame

I have a scrolling frame which uses UIGridLayout to control my frames but I don’t know how I would be able to resize them depending on the screen size. I tried to use LayoutUtil but nothing happened. I also don’t want to use scale because I use UIPadding and using scale would break it.


There’s an option to change the CellSize (Size of the Frames in the Scrolling Frame) in the UIGridLayout.

I have tried that but it would break the UIPadding.