From 8209df33960d39e23c51299684376bf1b451ea76 Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Sat, 14 Mar 2015 15:23:23 +0100 Subject: Fixed length of vertikal lines and progress bar. --- plugingui/plugingui.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugingui/plugingui.cc b/plugingui/plugingui.cc index d9943f7..3fa6777 100644 --- a/plugingui/plugingui.cc +++ b/plugingui/plugingui.cc @@ -396,12 +396,12 @@ void PluginGUI::init() y += OFFSET2; progress = new GUI::ProgressBar(window); progress->move(XOFFSET, y); - progress->resize(window->width() - 2*XOFFSET, 11); + progress->resize(window->width() - 300 - 2*XOFFSET, 11); y += OFFSET3; GUI::VerticalLine *l = new GUI::VerticalLine(window); l->move(XOFFSET, y); - l->resize(window->width() - 2*XOFFSET, 2); + l->resize(window->width() - 300 - 2*XOFFSET, 2); } // Midimap file @@ -427,12 +427,12 @@ void PluginGUI::init() y += OFFSET2; progress2 = new GUI::ProgressBar(window); progress2->move(XOFFSET, y); - progress2->resize(window->width() - 2*XOFFSET, 11); + progress2->resize(window->width() - 300 - 2*XOFFSET, 11); y += OFFSET3; GUI::VerticalLine *l = new GUI::VerticalLine(window); l->move(XOFFSET, y); - l->resize(window->width() - 2*XOFFSET, 2); + l->resize(window->width() - 300 - 2*XOFFSET, 2); } { @@ -480,7 +480,7 @@ void PluginGUI::init() GUI::VerticalLine *l2 = new GUI::VerticalLine(window); l2->move(20, 310 - 15 - 9); - l2->resize(window->width() - 40, 2); + l2->resize(window->width() - 300 - 40, 2); GUI::Label *lbl_version = new GUI::Label(window); lbl_version->setText(".::. v"VERSION" .::. http://www.drumgizmo.org .::. GPLv3 .::."); -- cgit v1.2.3