How to fix inclination angle

image
I want my inclination angle to be like that, but when i change it, it rotates on the wrong axis.
image
It rotates not the way I want it to.
How do I fix this.