If you choose a horizontal constraint and you realize that you need a vertical constraint, then you need to select the vertical constraint.
Despite the fact that we are now in 2015 get a preview to see what is horizontal or vertical.
Add a CTRL action, so that horizontal changes to vertical as soon as you press the CTRL.
Ditto for vertical to horizontal constraint.