UIGridlayout Padding not working

Hey guys so I am trying to use UIGridlayout padding to for a UI, but the padding always changes depending on the canvas size of the scrolling frame. Is there a way were I can make the padding constants but it is relative to the screen rather than parent canvas size?
image

1 Like

Scrollingframes are so absolutely ridiculously complicated when it comes to sizing it angers me to no end.

Scale is usually going to always change based on the players screen size, so when it comes to padding, I usually stick offset. Make sure you’re using UIAspectRatioConstaints for the instance objects, I 100% promise you it is a good idea.

Anywho, tell me if this works, I haven’t done UI in too long, but I have a bit too much experience for the size of my tiny brain cells.

2 Likes

Change AutomaticCanvasSize to Y, this will make the elements keep their original sizes and may also solve this problem.

2 Likes

OMG tysm!! Ur a life saver! It look me ages to figure smth out for this. TYSM!!! <3

1 Like

Here take a look at the solution UIGridlayout Padding not working - #3 by SOTR654

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