Grid Card use just 5 rows

I’m using a grid card.
How can I prevent a new column after the 5 rows?
And how can i increase the distance between the columns and rows?

Not sure what you are doing to get that happening. It doesn’t happen for me. If you post your code correctly rather than a screen grab people will be more likely to help. I cant be bothered to try and read the code on that picture.

Read the “Format it properly” section How to help us help you - or How to ask a good question