Figuring out the spacing of the gridlayout.