By default, if you resize a text layer, its font size changes accordingly. Perhaps useful but annoying if the line is long.
Solution: Change "Auto" to "Fixed" below width/height.