Log in to vote

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

Asked by 1 month 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!

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

Answer this question