mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CProgressWindow: use percental calculated dimensions as default
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user