QCustomPlot Discussion and Comments

Having problem while placing QCustomPlot into QDockWidgetReturn to overview

I'm trying to place QCustomPlot into a QDockWidget. However, unless i apply setFixedSize(x,y) on the plot, it seems tiny.

I want it to use whole area which is served by QDockWidget. Any idea ?

Have u tried to place it in a layout in QDockWidget?

Giving layout elements (e.g. the main axis rect) a minimum size (customPlot->axisRect()->setMinimumSize) will propagate this information to the parent QCustomPlot widget, such that it doesn't get compressed further.