Title layout in qCustomPlot
Unsolved
General and Desktop
-
I am creating an UI with a lot of plots using qCustomPlots. Everything looks fine except the distance between the title and the plot area when reducing the size of the plots and of the fonts. I get this result:
It looks like that distance does not depend by the font size or layout size, but it has a fixed amount of pixels, so with small fonts sizes, the title looks too far.
I tried reducing it with :ui.plot->plotLayout()->setRowSpacing(0); ui.plot->plotLayout()->setAutoMargins(QCP::msNone);
but they don't achieve the wanted result.
Can you help me? -
Hi,
That's a question you should rather bring to the authors of QCustomPlot.