diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-04-20 21:57:35 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-04-20 22:23:07 +0200 |
commit | 76081b9cb3d2112a650e1a215a332ac1cde3876d (patch) | |
tree | 6c522e6a482ca06aedb19277cb67ce887d92d98a | |
parent | 746de57f16482b49c8a25e1033257e6cde68b5cd (diff) |
Second adjustment to the logo in the main window.
-rw-r--r-- | plugingui/mainwindow.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/mainwindow.cc b/plugingui/mainwindow.cc index 85a702e..1d956de 100644 --- a/plugingui/mainwindow.cc +++ b/plugingui/mainwindow.cc @@ -97,13 +97,13 @@ void MainWindow::repaintEvent(RepaintEvent* repaintEvent) painter.drawImageStretched(0, 0, back, width(), height()); // DrumGizmo logo - painter.drawImage(width() - logo.width() - 16, + painter.drawImage(width() - logo.width() - sidebar.width(), height() - logo.height(), logo); // DrumGizmo version std::string version_string("v." + std::string(VERSION)); - auto version_x = width() - font.textWidth(version_string) - sidebar.width(); - auto version_y = height(); + auto version_x = width() - font.textWidth(version_string) - sidebar.width() - 1; + auto version_y = height() - 1; painter.setColour(Colour(0.4)); painter.drawText(version_x, version_y, font, version_string); |