#Automatic canvas in scrolling frame script.

20 messages · Page 1 of 1 (latest)

hollow verge
#

that's actually a property

#

you can just toggle it

carmine marlin
#

I used it but it doesn't work.

carmine marlin
#

I didn't change anything in game and I came after roblox studio update and it doesn't work idk why.

graceful forge
carmine marlin
graceful forge
#

oh, and also, do you add cells thru script?

#

@carmine marlin

carmine marlin
#

Yes.

#

I have grid layout and I add cells using script.

graceful forge
#

if you do, you need to create UIGridLayout again after adding cells

carmine marlin
#

Okay.

graceful forge
#

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

carmine marlin
#

I tried doing that but automatically( I removed and added UIgridlayout) and it didn't work, I am using scale in uigridlayout btw.

carmine marlin
#

@graceful forge

graceful forge
#

it works for me

carmine marlin
#

I tried it, it doesn't work, I am using scale and ratio thing in frames.