mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CHintBox/CMsgBox: reduce minimal dimensions
Better display for smaller texts.
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
#include <gui/components/cc.h>
|
#include <gui/components/cc.h>
|
||||||
|
|
||||||
#define HINTBOX_MIN_WIDTH 420
|
#define HINTBOX_MIN_WIDTH 320
|
||||||
#define HINTBOX_MIN_HEIGHT 125
|
#define HINTBOX_MIN_HEIGHT 125
|
||||||
#define HINTBOX_MAX_HEIGHT 520
|
#define HINTBOX_MAX_HEIGHT 520
|
||||||
#define HINTBOX_DEFAULT_TIMEOUT g_settings.timing[SNeutrinoSettings::TIMING_POPUP_MESSAGES]
|
#define HINTBOX_DEFAULT_TIMEOUT g_settings.timing[SNeutrinoSettings::TIMING_POPUP_MESSAGES]
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
#include "hintbox.h"
|
#include "hintbox.h"
|
||||||
|
|
||||||
#define MSGBOX_MIN_WIDTH HINTBOX_MIN_WIDTH
|
#define MSGBOX_MIN_WIDTH HINTBOX_MIN_WIDTH
|
||||||
#define MSGBOX_MIN_HEIGHT HINTBOX_MIN_HEIGHT + 75
|
#define MSGBOX_MIN_HEIGHT HINTBOX_MIN_HEIGHT
|
||||||
|
|
||||||
#define MSGBOX_DEFAULT_TIMEOUT g_settings.timing[SNeutrinoSettings::TIMING_STATIC_MESSAGES]
|
#define MSGBOX_DEFAULT_TIMEOUT g_settings.timing[SNeutrinoSettings::TIMING_STATIC_MESSAGES]
|
||||||
#define DEFAULT_MSGBOX_TEXT_MODE (CMsgBox::CENTER | CMsgBox::AUTO_WIDTH | CMsgBox::AUTO_HIGH)
|
#define DEFAULT_MSGBOX_TEXT_MODE (CMsgBox::CENTER | CMsgBox::AUTO_WIDTH | CMsgBox::AUTO_HIGH)
|
||||||
|
Reference in New Issue
Block a user