CProgressWindow: user request: increase size of description and window

This commit is contained in:
2014-07-17 21:41:28 +02:00
committed by [CST] Focus
parent 62acbb47ab
commit bf10f929f8

View File

@@ -50,13 +50,15 @@ void CProgressWindow::Init()
int x_item = 10; int x_item = 10;
int y_item = 10; int y_item = 10;
setWidthP(75);
int w_item = width-2*x_item; int w_item = width-2*x_item;
int h_item = 20; int h_item = 20;
w_bar_frame = 0; w_bar_frame = 0;
//create status text object //create status text object
status_txt = new CComponentsLabel(); status_txt = new CComponentsLabel();
status_txt->setDimensionsAll(x_item, y_item, w_item, h_item); int h_txt = max(g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight(), h_item);
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 += 2*h_item; y_item += 2*h_item;