diff --git a/Graphs/gGraphView.cpp b/Graphs/gGraphView.cpp index d5d1fb64..c5a2d121 100644 --- a/Graphs/gGraphView.cpp +++ b/Graphs/gGraphView.cpp @@ -1082,7 +1082,7 @@ void gGraph::paint(int originX, int originY, int width, int height) int fw,font_height; GetTextExtent("Wg@",fw,font_height); - m_margintop=font_height+(6*printScaleY()); + m_margintop=font_height+(8*printScaleY()); //glColor4f(0,0,0,1); left=marginLeft(),right=marginRight(),top=marginTop(),bottom=marginBottom(); diff --git a/mainwindow.cpp b/mainwindow.cpp index 7f1c44a5..fa4903bc 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -983,8 +983,8 @@ void MainWindow::PrintReport(gGraphView *gv,QString name, QDate date) label+=":"; QRectF pagebnds=QRectF(0,top,res.width(),labelheight); painter.drawText(pagebnds,label,QTextOption(Qt::AlignHCenter | Qt::AlignTop)); - } - top+=labelheight; //pagebnds.height(); + top+=labelheight; //pagebnds.height(); + } else top+=labelheight/2; PROFILE["UseAntiAliasing"]=force_antialiasing; int tmb=g->m_marginbottom;