fraita23
(nil)
February 28, 2023, 7:56pm
#1
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!
d_ytme
(Sammy)
March 1, 2023, 9:24pm
#2
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!
d_ytme
(Sammy)
March 1, 2023, 9:34pm
#4
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
system
(system)
Closed
March 15, 2023, 9:37pm
#6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.