On another question, I was told to use ROBLOX's new UIListLayout. I used the code below:

scrollingFrame.CanvasSize = UDim2.new(1,0,0,20)
local itemLabel = Instance.new("TextLabel")
itemLabel.ZIndex = 7
itemLabel.BackgroundTransparency = 1
itemLabel.BorderSizePixel = 0
itemLabel.Font = Enum.Font.SourceSans
itemLabel.TextScaled = true
itemLabel.TextColor3 = Color3.fromRGB(255,255,255)
itemLabel.TextStrokeColor3 = Color3.fromRGB(51,51,51)
itemLabel.TextStrokeTransparency = 0
itemLabel.Text = "Item Name"
itemLabel.Name = itemLabel.Text
itemLabel.Parent = scrollingFrame

However, everything became very big and clustered. Example

This most likely has a very simple solution, I just have never used this before.

Thank you in advance

3 comments

0

Why not use this as a background for your UI, this looks awesome.

0

Have you checked to see if the FillDirection of the UIListLayout is set to vertical instead of horizontal?

0

It's Vertical, that's not the problem @Spongocardo