From 10523d8ad4fb2d75ba742f2c0b4b616fe5e7bfaa Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 4 Jan 2017 10:25:35 +0100 Subject: [PATCH] CHintBox/CMsgBox: reduce minimal dimensions Better display for smaller texts. --- src/gui/widget/hintbox.h | 2 +- src/gui/widget/msgbox.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/widget/hintbox.h b/src/gui/widget/hintbox.h index c005feb26..728edc73c 100644 --- a/src/gui/widget/hintbox.h +++ b/src/gui/widget/hintbox.h @@ -32,7 +32,7 @@ #include -#define HINTBOX_MIN_WIDTH 420 +#define HINTBOX_MIN_WIDTH 320 #define HINTBOX_MIN_HEIGHT 125 #define HINTBOX_MAX_HEIGHT 520 #define HINTBOX_DEFAULT_TIMEOUT g_settings.timing[SNeutrinoSettings::TIMING_POPUP_MESSAGES] diff --git a/src/gui/widget/msgbox.h b/src/gui/widget/msgbox.h index f20083296..f15060973 100644 --- a/src/gui/widget/msgbox.h +++ b/src/gui/widget/msgbox.h @@ -35,7 +35,7 @@ #include "hintbox.h" #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 DEFAULT_MSGBOX_TEXT_MODE (CMsgBox::CENTER | CMsgBox::AUTO_WIDTH | CMsgBox::AUTO_HIGH)