Qt Creator: Character align is not working

Hi; I'm using Qt Creator 4.2.1. I set character align for me like this:
But when I write a code about this, this settings are not working like this:
This setting didn't work before Qt Creator 4.2.1. Why this setting don't work? Thanks.