Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to only allow a certain amount of childs in a UIGridLayout?

Asked by 1 year ago

I am making a notification GUI in my game so I am using UIGridLayout to make a grid. But my problem is that when I add in a lot of placeholders ( Frames ) It makes another line of placeholders which looks messy. So I went into UIGridLayout and changed a property in it. Changing FillDirectionMaxCells only allows a certain amount of placeholders to be in a line which just makes another line.

Please help me!

0
In your script do an if statement - if #Notifications < max then addNotification() else doNothing() end blowup999 659 — 1y

Answer this question