View Full Version : how to make the title left-aligned? It is in the middle

19th October 2015, 21:51
The previous QT version has left-aligned title on QMainWindow.
I want to keep it. Now it is in the middle. How to change it.
I checked the API and could not find any function to set it.

24th October 2015, 17:07
The window decoration is usually either done by the windowing system, in which case the application does not control the alignment of the text, or it is handled by the Qt platform adapter, in which case it should be doing what the rest of the windows on that platform are doing.