diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-04-20 21:28:17 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-04-20 21:28:17 +0200 |
commit | 607326257091dc6028b94888af1cfad96cd2ec17 (patch) | |
tree | fbd9c6ef9ef7cca47c378d0b6f9076bef4237df8 | |
parent | 3fc965ed95df6d810fed98f0033493654847a7f9 (diff) |
Change placement and color of version number.
-rw-r--r-- | plugingui/mainwindow.cc | 8 |
1 files 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 |