In my past experiences UiListLayouts and UiGridLayouts would separate instances within its parent Frame or ScrollingFrame, but it isn’t now. There have been quite a few changes to Studio recently and I might’ve missed something. Here’s a video demonstrating my issue:
robloxapp-20201010-0959420.wmv (356.9 KB)
I’ve looked and it doesn’t have anything do with Adornee or anything because UiListLayouts don’t have an Adornee property. I’m sure it’s a simple solution, I just don’t know what.
For me when I used it worked fine, can you show us your code so we can determine what’s wrong with it?
Else we won’t have any clue of what’s the issue here.
1 Like
Located in a TextButton which is a child of the ScreenGui
local sf = script.Parent.Parent.ScrollingFrame
local bf = script.Parent.Parent.Frame
local is = game.ReplicatedStorage.Masks
script.Parent.MouseButton1Click:Connect(function()
for i, v in pairs(sf:GetChildren()) do
v:Destroy()
end
for i, v in pairs(is:GetChildren()) do
local ni = bf:Clone()
ni.Name = v.Name
ni.TextButton.Text = v.Name
ni.Visible = true
ni.Parent = sf
wait(0.1)
end
end)
did you set the padding property under the appearance category
By default it’s (0, 0) do I need to change it?
1 Like
yes, that’s what seperates them
Okay, but what would I do? It’s always worked on its default value.
the first number is the scale value (the amount of space to seperate them by [in scale] ) the second number is the offset (the space to seperate them but in pixels)