As the Title says. i want the scrolling frame children to not get resized according to the canvas size while also keeping the scale effect. Since using offset would ruin the UI for different screen sizes
Example
Notice how it gets resized according to canvas size. i dont want it to do that
I Tried searching and found this Solution
but i ended up with this error that i cant seem to solve
The Parents and Children
attempt to perform arithmetic (mul) on UDim and number
UiGrid = script.Parent
ScaleSize = UiGrid.CellSize
UiGrid.CellSize = UDim2.new(0,ScaleSize.X*UiGrid.Parent.AbsoluteSize.X,0,ScaleSize.Y*UiGrid.Parent.AbsoluteSize.Y)
UiGrid.Parent.Changed:Connect(function()
UiGrid.CellSize = UDim2.new(0,ScaleSize.X*UiGrid.Parent.AbsoluteSize.X,0,ScaleSize.Y*UiGrid.Parent.AbsoluteSize.Y)
end)