Fix the text width doesn't adjust properly

Merged username-removed-94717 requested to merge YueLinHo/tortoisegit:fix_text_width into master

Moving related code behind all SetWindowText()

Fix this:

image

To this:

image