Hello, I have a UIGridLayout in a scrolling frame and all the UI elements inside look find. When I change the visible property, the padding is suddenly inconsistent and the UI elements start overlapping each other. Anyone know why?
(I am using this in a plugin)
I made my script print the CellPadding and it seems to be constant
Before:
After:
Steps to replicate:
Make a Scrollingframe with UIGridLayout
Add UI objects into the scrolling frame
Use a script to toggle the UI objects’ Visible property, the padding should change immediately even if you do Visible = true on a visible object
Sure, I’ll send it later. I was actually using a loop to insert image IDs into the scrolling frame, and then when I attempt to change the Visible property using another loop it starts overlapping. (Not sure if the textbox has anything to do with it)
Also, this happened inside my plugin in studio so that might be affecting it.