I have to fit many plots in a small space, so I need to optimize the space.
I am trying to display the title as close as possible to the plot, but when using small fonts, I am not able to get a good result.
This issue is much evident when using very small fonts and small window size, like if that space has a fixed amount of pixels.
I have tried adding to the code:
ui.plot->plotLayout()->setRowSpacing(0); ui.plot->plotLayout()->setRowStretchFactor(0, 0.001);
But nothing really work.
Am I missing some layout element I have to change? (unfortunately in this forum I can't post a picture of the result)