Customize the title bar/header bar
-
Hello everyone! I recently customized the theme for Qt Creator to look the same as VS Code, so now both environments have the same layout. However, in VS Code, the header bar has additional elements besides the standard “Collapse”, “Expand/Zoom” and “Close”, while in Qt Creator it does not. Although this slightly affects the visual perception, the IDE has an attractive interface.
Since the Qt framework allows you to create your own header bar, the question arises: why haven't the Qt Creator developers implemented a custom header bar yet? And, more precisely, is it possible to fix this with the help of the “Qt Creator C++ plugin” and move the ‘Collapse’, “Expand/Zoom” and “Close” buttons to the menu bar level?
-
Hello everyone! I recently customized the theme for Qt Creator to look the same as VS Code, so now both environments have the same layout. However, in VS Code, the header bar has additional elements besides the standard “Collapse”, “Expand/Zoom” and “Close”, while in Qt Creator it does not. Although this slightly affects the visual perception, the IDE has an attractive interface.
Since the Qt framework allows you to create your own header bar, the question arises: why haven't the Qt Creator developers implemented a custom header bar yet? And, more precisely, is it possible to fix this with the help of the “Qt Creator C++ plugin” and move the ‘Collapse’, “Expand/Zoom” and “Close” buttons to the menu bar level?
@Besdroxk said in Customize the title bar/header bar:
why haven't the Qt Creator developers implemented a custom header bar yet?
This is something you should ask QtCreator developers on their mailing list or file a change request in Qt bug tracker.
-
I have a bug report about this https://bugreports.qt.io/browse/QTCREATORBUG-29499
What you can do, is to hide the menu bar! That will win you some vertical space.
At the moment I am not aware of a solution to this. I have a few ideas but nothing to show for now.