To create a straight horizontal or vertical line, press Shift while drawing the line.