diff --git a/src/ui/QGCDataPlot2D.cc b/src/ui/QGCDataPlot2D.cc index 303d5a1f3da4c6e2b94470bfdd24781794e062fa..381c45b254ddbf0c720e4751879225c16f788562 100644 --- a/src/ui/QGCDataPlot2D.cc +++ b/src/ui/QGCDataPlot2D.cc @@ -116,7 +116,7 @@ void QGCDataPlot2D::print() QPrintDialog dialog(&printer); if ( dialog.exec() ) { - plot->setStyleSheet("QWidget { background-color: #FFFFFF; color: #000000; background-clip: border; font-size: 11pt;}"); + plot->setStyleSheet("QWidget { background-color: #FFFFFF; color: #000000; background-clip: border; font-size: 10pt;}"); plot->setCanvasBackground(Qt::white); QwtPlotPrintFilter filter; filter.color(Qt::white, QwtPlotPrintFilter::CanvasBackground); @@ -132,6 +132,8 @@ void QGCDataPlot2D::print() filter.setOptions(options); } plot->print(printer, filter); + plot->setStyleSheet("QWidget { background-color: #050508; color: #DDDDDF; background-clip: border; font-size: 11pt;}"); + //plot->setCanvasBackground(QColor(5, 5, 8)); } }