Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
how to set window title to the centre?
Sriu1 last edited by Sriu1
I have set my window title name by
But this is aligned to left corner,How do I align it at the center and increase the font size when maximized please suggest.
Pablo J. Rogina last edited by
@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