Help With UIGridLayout Padding Please

UIGridLayout

I am trying to use the UIGridLayout and I seem to be having a problem with the padding. The individual cells are accepting the padding ok, as shown in this image. The Red Selected Items are set for Multiple deletion and that is where the padding gets a little wonky. You will notice in Cell 1, the selected red outline cuts off at the left and the top. In Cell 2, you can see the padding is working but the red outline gets cut off at the top. In Cell 3, you can see the padding working but the cell is cut off at the left.

I want to continue to use Clip Descendants on the Scrolling Frame otherwise the cells below the visible outline of the parent GUI just show up. Any ideas what I am doing wrong?

Thanks in advance,

Tweetclean

2 Likes

Make the UI border to “inset”, you probably are using “outline”

2 Likes

I appreciate that answer, and I did try that earlier. I was hoping that I could get a way to make the padding apply to the top and to the left, as it does to the right and to the bottom. Seems like padding should apply to the whole cell, not just sections of it.

Thank you, again, for your prompt answer.

No, borders don’t count as the cell, the cell is the cell, the border is totally different

1 Like

You could use UIPadding and set the padding to the border’s size.

2 Likes

Brilliant, I didn’t even know about the Table Layout. I am going to have to do some research on this. Thank you!