QCustomPlot Discussion and Comments

QDockWidget containing QCustomPlot missing window title when dockedReturn to overview

I am using QCustomPlots contained inside of QDockWindows. The structure, I think, is typical:

QDockWidget->QWidget("central widget")->QVboxLayout->QCustomPlot

For some reason, when the QDockWidget is docked, the window title text disappears. When the QDockWidget is floating, the title text is visible. The title text is very important information for my application. Other QDockWidgets which don't contain QCustomPlots work normally.

Anyone have any ideas?

I am also making an application with QCustomPlot inside QDockWidgets. My title text is always visible, docked or floating. I designed my QDockWidget with the QtCreator Designer, but to be able to do so, I had do manually add <widget class="QWidget" name="dockWidgetContents"/> to the dockwidgtes ui xml file.
( see: https://stackoverflow.com/questions/47914013/qdockwidget-form-in-qt-creator-designer ) I'm a beginner so I don't know if using the designer will make any difference, but it worked for me.