Hi, I have a scrolling frame with a UIGridLayout in it and I have the cellsize offset because if I use scale it will make the frame squish. So how would I make the frames inside the scrolling frame scale for every device with offset. I’ve done some research on this but I couldn’t really find a solution and I kinda got a headache from it now.
You could manually edit the cell size offset through a script relative to the screen size, but a much easier solution would be to use scale sizing, but also insert a UIAspectRatioConstraint into your UIGridLayout’s contents to maintain a 1:1 sizing within your elements.
ok I will try, thanks for ur reply
this is what it looks like on my laptop
this is what it looks like when I switch to phone screen
So I putted in the UIAspectRatioConstraint into the UIGridLayout and it still didn’t change, was I mean’t to change any of the the UiAspectRatioConstraint property
UIAspectRatioConstraint only work if it inside a UI.It only maintain for the parent
so where should I put it then?
You cant really scale it to every device with offset, there is a pluging that scales the gui with 1 click tho
I try using that plugin but nothing changed