Gui Grid Layout Wont Scale Right On Mobile and PC

– PC

– Mobile

Nomatter what i do i cannot get the red square boarders to hit the scrollbar on pc and mobile while keeping the square shape of the red boarders, its always either the pc does but mobile wont or mobile wont and pc does

is there anyway to fix this im new to ui its the only thing i dont do

hmm.

don’t use offset (pixels) in your properties at all in this situation, since you always want it to be the same.

the UIGridLayout padding would be {0.02, 0, 0.02, 0} instead.

the size would be {0.2, 0, 0.2, 0}

you can also add a UIAspectRatioConstraint to the ScrollingFrame. this will ensure that on different aspect ratios, the boxes/scrolling frame won’t stretch and morph weirdly.

i think that’s all i can say, but try it out.

worked like a charm got any tips on how to make the red frames smaller though while still fitting the entire scrolling frame? i cant find out how

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