Problem with UIGridLayout

Hi all developers, i wanted to know why my GUI is like this…

I have a UIGridLayout and when i edit the scale “CellSize” it is like that(Image), but i want in horizontal…

With offset scale works fine, but in mobile it is ugly because it’s very very big.

Thanks!
image
image
image

Is there a particular reason for not just using UIListLayout? What you’re trying to do here is a textbook use case for it. Combine that with an AspectRatioConstraint to properly scale your buttons and you’re set!

Thanks for the reply, but, the UIListLayout doesn’t makes the frames vertical? Or it make both? Thanks!

It can go either vertical or horizontal. Wasn’t the question about making them horizontal?

Oh, thanks… I tought that “UIListLayout” was only in vertical… lol

Now it works perfectly fine and scaled!

Thanks! : D

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