adjust the margin and minimum line and item in row spacing