Hello,
I have a problem with settings size of QCPAxisRect.
// iHeight for example 20 int iHeight = 20; m_volumeAxisRect = new QCPAxisRect(&m_hCustomPlot); m_volumeAxisRect->setMaximumSize(QSize(QWIDGETSIZE_MAX, iHeight)); m_volumeAxisRect->setMinimumSize(QSize(QWIDGETSIZE_MAX, iHeight));
I create screen with 3 qcustomplots. Everyone has this QCPAxisRect with same Min and Max size and same 3 binary graphs into.
One of theese qcustomplots has height 1/2 of screen, rest two qcustomplots has height 1/4 of screen.
At qcustomplot with height 1/2 of screen is this QCPAxisRect bigger then two smallest qcustomplot.
What I doing wrong?
Thanks David.