mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add a margin of 4 pixels around every plot to avoid text going all the way to the edge
This commit is contained in:
parent
c2032fd948
commit
6f7a75f5c2
@ -87,6 +87,8 @@ void RiuQwtPlotTools::setCommonPlotBehaviour(QwtPlot* plot)
|
||||
plot->canvas()->setMouseTracking(true);
|
||||
plot->canvas()->installEventFilter(plot);
|
||||
plot->plotLayout()->setAlignCanvasToScales(true);
|
||||
|
||||
plot->setContentsMargins(4, 4, 4, 4);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user