mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#396) Got rid of frame around plot canvas
This commit is contained in:
@@ -47,4 +47,10 @@ void RiuWellLogTracePlot::setDefaults()
|
|||||||
|
|
||||||
setAutoFillBackground(true);
|
setAutoFillBackground(true);
|
||||||
setCanvasBackground(Qt::white);
|
setCanvasBackground(Qt::white);
|
||||||
|
|
||||||
|
QFrame* canvasFrame = dynamic_cast<QFrame*>(canvas());
|
||||||
|
if (canvasFrame)
|
||||||
|
{
|
||||||
|
canvasFrame->setFrameShape(QFrame::NoFrame);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user