fix Text line wrap issue
Merge pull request #7443 from andyque/fixTextLineWrap

fix text line wrap issue