#GUI instancing pain

25 messages · Page 1 of 1 (latest)

gritty cradle
#
for row, column in pairs(grid) do
    for key, tile in pairs(column) do
        local frame = Instance.new("ImageLabel",Visual_Folder)
            frame.Transparency = 1
        frame.Name = row..","..key
        frame.Image = colors[tile["color"]]
        local button = Button_Folder:WaitForChild("UIGridLayout")
        print(button.Name)
        frame.Size = button.CellSize
    end
end

(frame is an image label)
Can I not set the size of an image label like this?

forest veldt
#

im on phone

#

and i got no colors

#

can you screenshot for me plz

gritty cradle
#

yeh

#

full thing

#

it makes them but the size is {0,0},{0,0}

#

changes the image doe

#

sorry its so messy

forest veldt
#

sorry im back

#

u shoulda pinged me

forest veldt
gritty cradle
#

im making a youtube video rn 💀

#

paused the recording

#

1 sec

#

uh oh

#

I stg

#

@forest veldt it was the dumbest thing possible

#

they show up now