@Sriu1 it looks like something out of control for Qt... see this post for reference, especially regarding font size.
Regarding centering, you may want to do some manual padding whenever you're about to maximize the window by calculating actual width vs characters in window title by font size