CProgressWindow: use percental calculated dimensions as default

This commit is contained in:
2017-02-25 22:09:28 +01:00
parent 11d8be5307
commit ed9edb5dad
2 changed files with 2 additions and 4 deletions

View File

@@ -123,8 +123,6 @@ CProgressBar* CProgressWindow::getProgressItem()
pBar->setColorFrame(COL_PROGRESSBAR_ACTIVE_PLUS_0);
addWindowItem(pBar);
ccw_body->setHeight(y_tmp+OFFSET_INNER_MID);
return pBar;
}

View File

@@ -28,8 +28,8 @@
#include <gui/components/cc.h>
#include "menue.h"
#define PW_MIN_WIDTH 700
#define PW_MIN_HEIGHT 100
#define PW_MIN_WIDTH 50 //%
#define PW_MIN_HEIGHT 25 //%
class CProgressWindow : public CComponentsWindow, public CMenuTarget
{