mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
- progresswindow: fix position of progressbars
This commit is contained in:
@@ -58,7 +58,7 @@ void CProgressWindow::Init()
|
|||||||
status_txt->setDimensionsAll(x_item, y_item, w_item, h_txt);
|
status_txt->setDimensionsAll(x_item, y_item, w_item, h_txt);
|
||||||
status_txt->setColorBody(col_body);
|
status_txt->setColorBody(col_body);
|
||||||
addWindowItem(status_txt);
|
addWindowItem(status_txt);
|
||||||
y_item += h_txt;
|
y_item += h_txt + 10;
|
||||||
|
|
||||||
//create local_bar object
|
//create local_bar object
|
||||||
local_bar = new CProgressBar();
|
local_bar = new CProgressBar();
|
||||||
@@ -80,7 +80,7 @@ void CProgressWindow::Init()
|
|||||||
addWindowItem(global_bar);
|
addWindowItem(global_bar);
|
||||||
y_item += 2*h_pbar;
|
y_item += 2*h_pbar;
|
||||||
|
|
||||||
height = y_item + ccw_head->getHeight() + 10;
|
height = y_item + ccw_head->getHeight();
|
||||||
|
|
||||||
setCenterPos();
|
setCenterPos();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user