From 76081b9cb3d2112a650e1a215a332ac1cde3876d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Thu, 20 Apr 2017 21:57:35 +0200 Subject: Second adjustment to the logo in the main window. --- plugingui/mainwindow.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugingui') 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); -- cgit v1.2.3