Made the vertical and horizontal gaps use the defined padding constant