Problem with UIGridLayout

Hi devs, i have a problem/question.

Why my TextButtons are going up and not down?

Thanks!

image

Text buttons as in the ones with “Name” on them, right?
I’m also assuming you want the buttons to be at the bottom of the scroll frame?
If so, set the VerticalAlignment to “Bottom”.

The TextButtons are in the PetsContainer Scrolling Frame.

I want the templates go down and not up like in the 2nd photo.

I tried to set VerticalAlignment to Bottom but all my Templates are down

Thanks!

Oh! I think I understand what you mean. Change the FillDirection to “Vertical”.

Uhm, i have a problem now:

The FillDirectionMaxCells is set to 3…

I thought it was already set to 3 in the original picture?

Yea but in the recent picture i sent, there are more than 3…

Idk if this is a bug or something wrong…

image

Oh, sorry. Didn’t see the 4th box in the right of the frame. Yeah, that is weird.
The UIGridLayout is a little hard to understand, so I agree. There should be a fix to this though.

I think the reason for this is because the buttons were there before you modified the UIGridLayout, meaning it may not be affected; try copying the buttons, deleting them, and repasting them in. This will probably cause any changes to be applied, thereby fixing your issue.

wait nvm ignore that, i just did something stupid

I’m no expert on UIGridLayouts myself, so I’m sorry for being such an amateur at this. But I believe the issue may be that Roblox isn’t being too smart. I set up this situation in Studio, and managed to get a result that you might want by just fiddling with the “FillDirectionMaxCells” value.

Not a very good answer, but it’s all I can come up with.

1 Like

Dont worry, i am stupid, i didint noticed that i put a - in cell padding, so it was going up…

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.