From 607326257091dc6028b94888af1cfad96cd2ec17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Thu, 20 Apr 2017 21:28:17 +0200 Subject: Change placement and color of version number. --- plugingui/mainwindow.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugingui/mainwindow.cc b/plugingui/mainwindow.cc index e00b18b..85a702e 100644 --- a/plugingui/mainwindow.cc +++ b/plugingui/mainwindow.cc @@ -98,13 +98,13 @@ void MainWindow::repaintEvent(RepaintEvent* repaintEvent) // DrumGizmo logo painter.drawImage(width() - logo.width() - 16, - height() - logo.height() - 10, logo); + height() - logo.height(), logo); // DrumGizmo version std::string version_string("v." + std::string(VERSION)); - auto version_x = width() - font.textWidth(version_string) - sidebar.width() - 5; - auto version_y = height() - 5; - painter.setColour(Colour(0.18)); + auto version_x = width() - font.textWidth(version_string) - sidebar.width(); + auto version_y = height(); + painter.setColour(Colour(0.4)); painter.drawText(version_x, version_y, font, version_string); // Topbar above the sidebars -- cgit v1.2.3