mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
CProgressWindow: use percental calculated dimensions as default
Origin commit data
------------------
Commit: ed9edb5dad
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-25 (Sat, 25 Feb 2017)
This commit is contained in:
@@ -123,8 +123,6 @@ CProgressBar* CProgressWindow::getProgressItem()
|
|||||||
pBar->setColorFrame(COL_PROGRESSBAR_ACTIVE_PLUS_0);
|
pBar->setColorFrame(COL_PROGRESSBAR_ACTIVE_PLUS_0);
|
||||||
addWindowItem(pBar);
|
addWindowItem(pBar);
|
||||||
|
|
||||||
ccw_body->setHeight(y_tmp+OFFSET_INNER_MID);
|
|
||||||
|
|
||||||
return pBar;
|
return pBar;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -28,8 +28,8 @@
|
|||||||
#include <gui/components/cc.h>
|
#include <gui/components/cc.h>
|
||||||
#include "menue.h"
|
#include "menue.h"
|
||||||
|
|
||||||
#define PW_MIN_WIDTH 700
|
#define PW_MIN_WIDTH 50 //%
|
||||||
#define PW_MIN_HEIGHT 100
|
#define PW_MIN_HEIGHT 25 //%
|
||||||
|
|
||||||
class CProgressWindow : public CComponentsWindow, public CMenuTarget
|
class CProgressWindow : public CComponentsWindow, public CMenuTarget
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user