UIGridLayout Messing Up Tween

When i’m tweening my ui. The size on all of the frames are 0, 0 to start but then they enlarge. But when I set my frame to 0, 0 the whole frame gets smaller except the stuff that the uigridlayout is effecting. is there any way to bypass this happening

Before:
image

After:

2 Likes

May I ask what you are trying to tween?

A frame and there is a scrolling frame inside that frame containing a gridlayout

If you are trying to move the entire frame, you should be able to tween it without UIGrid getting in the way. Can you send the Tween script?

Not how its works and the tween script doesn’t have to do with the fact that it is breaking just with resizing it

Are you sure UIGridLayout.CellSize is set to scale instead of offset? If it was set to scale, it would change based on the ScrollingFrame’s size instead of maintaining its shape.

the CellSize is the actual size of each cell its doesn’t have scale or offset options

Really? There should be an option to edit the CellSize of the UIGridLayout unless if you’re referring to AbsoluteCellSize.