Set padding for grid