#Automatic canvas in scrolling frame script.
20 messages · Page 1 of 1 (latest)
I used it but it doesn't work.
It was working but after roblox studio update it doesn't work.
I didn't change anything in game and I came after roblox studio update and it doesn't work idk why.
You need AutomaticCanvasSize: Y and change canvas size to 1 cell height
so when you add more cells it will make itself bigger
Let me check if it will work, It was always on Y but it was always on 0,0 tho.
if you do, you need to create UIGridLayout again after adding cells
Okay.
since it applies and destroys itself
for i, car in ipairs(cars) do
addCarToGUI(i, car.Name, price, img, car)
end
replicatedStorage.CarShopGUI.UIGridLayout:Clone().Parent = script.Parent.CarListScrollingFrame
smth like that
I tried doing that but automatically( I removed and added UIgridlayout) and it didn't work, I am using scale in uigridlayout btw.
@graceful forge
idk, I have a UIGridLayout copy in replicated storage and clone it AFTER cells was added
it works for me
I tried it, it doesn't work, I am using scale and ratio thing in frames.