UIGridLayout issues

I need my UIGridLayout to make boxes that line up with eachother.

However in the image below they aren’t straight.
image

Also, I want them on the top but it goes way too far up when I set the vertical alignment to top.
image

This is my properties:
image

this is how it looks when theres no uigridlayout
image