small change for vu

Origin commit data
------------------
Commit: 5321e93301
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2019-12-08 (Sun, 08 Dec 2019)
This commit is contained in:
BPanther
2019-12-08 14:51:00 +01:00
committed by vanhofen
parent 592a51c44a
commit a82758a715

View File

@@ -70,7 +70,7 @@ CDBoxInfoWidget::CDBoxInfoWidget()
header = NULL;
fontWidth = fm->getWidth();
sizeWidth = 6 * fm->getMaxDigitWidth()
+ fm->getRenderWidth(std::string(" MiB") + g_Locale->getText(LOCALE_UNIT_DECIMAL)); ;//9999.99 MiB
+ fm->getRenderWidth(std::string(" MiB") + g_Locale->getText(LOCALE_UNIT_DECIMAL)); //9999.99 MiB
percWidth = 3 * fm->getMaxDigitWidth()
+ fm->getRenderWidth("%"); //100%
nameWidth = fontWidth * 17;
@@ -136,7 +136,7 @@ int CDBoxInfoWidget::exec(CMenuTarget* parent, const std::string &)
res = menu_return::RETURN_EXIT_ALL;
doLoop = false;
}
else if (msg == CRCInput::RC_info) {
else if (msg == CRCInput::RC_info || msg == CRCInput::RC_help) {
upmode = !upmode;
paint();
}