diff options
-rw-r--r-- | qt-ui/profilegraphics.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/profilegraphics.cpp b/qt-ui/profilegraphics.cpp index 8f25f1932..e5212be1e 100644 --- a/qt-ui/profilegraphics.cpp +++ b/qt-ui/profilegraphics.cpp @@ -312,6 +312,9 @@ void ProfileGraphicsView::plot(struct dive *d) if (nick.isEmpty()) nick = tr("unknown divecomputer"); + gc.leftx = 0; gc.rightx = 1.0; + gc.topy = 0; gc.bottomy = 1.0; + text_render_options_t computer = {DC_TEXT_SIZE, TIME_TEXT, LEFT, MIDDLE}; diveComputer = plot_text(&computer, QPointF(gc.leftx, gc.bottomy), nick); // The Time ruler should be right after the DiveComputer: |