From bf10f929f8542e68d2e77812489e238d8b6b5c34 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 17 Jul 2014 21:41:28 +0200 Subject: [PATCH] CProgressWindow: user request: increase size of description and window --- src/gui/widget/progresswindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/widget/progresswindow.cpp b/src/gui/widget/progresswindow.cpp index f28f91b45..959d13f7e 100644 --- a/src/gui/widget/progresswindow.cpp +++ b/src/gui/widget/progresswindow.cpp @@ -50,13 +50,15 @@ void CProgressWindow::Init() int x_item = 10; int y_item = 10; + setWidthP(75); int w_item = width-2*x_item; int h_item = 20; w_bar_frame = 0; //create status text object 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); addWindowItem(status_txt); y_item += 2*h_item;