From 1c7a3adf56d34d0461c71bfc6aaa6bd22b3f3b49 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 17 Nov 2014 15:53:08 +0100 Subject: [PATCH] progresswindow: fix position of progressbars Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/f4ccaa975b198da7ec921976447cc085cfecd7da Author: vanhofen Date: 2014-11-17 (Mon, 17 Nov 2014) Origin message was: ------------------ - progresswindow: fix position of progressbars ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/widget/progresswindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/widget/progresswindow.cpp b/src/gui/widget/progresswindow.cpp index 0d76de113..7ae089877 100644 --- a/src/gui/widget/progresswindow.cpp +++ b/src/gui/widget/progresswindow.cpp @@ -58,7 +58,7 @@ void CProgressWindow::Init() status_txt->setDimensionsAll(x_item, y_item, w_item, h_txt); status_txt->setColorBody(col_body); addWindowItem(status_txt); - y_item += h_txt; + y_item += h_txt + 10; //create local_bar object local_bar = new CProgressBar(); @@ -80,7 +80,7 @@ void CProgressWindow::Init() addWindowItem(global_bar); y_item += 2*h_pbar; - height = y_item + ccw_head->getHeight() + 10; + height = y_item + ccw_head->getHeight(); setCenterPos(); }