List GUI with UIListLayout too big and clustered?
On another question, I was told to use ROBLOX's new UIListLayout. I used the code below:
01 | scrollingFrame.CanvasSize = UDim 2. new( 1 , 0 , 0 , 20 ) |
02 | local itemLabel = Instance.new( "TextLabel" ) |
04 | itemLabel.BackgroundTransparency = 1 |
05 | itemLabel.BorderSizePixel = 0 |
06 | itemLabel.Font = Enum.Font.SourceSans |
07 | itemLabel.TextScaled = true |
08 | itemLabel.TextColor 3 = Color 3. fromRGB( 255 , 255 , 255 ) |
09 | itemLabel.TextStrokeColor 3 = Color 3. fromRGB( 51 , 51 , 51 ) |
10 | itemLabel.TextStrokeTransparency = 0 |
11 | itemLabel.Text = "Item Name" |
12 | itemLabel.Name = itemLabel.Text |
13 | 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