dboxinfo - small change

This commit is contained in:
BPanther
2021-05-22 18:56:16 +02:00
committed by Thilo Graf
parent 238479e67f
commit f72ca2c422

View File

@@ -401,8 +401,14 @@ void CDBoxInfoWidget::paint()
#endif #endif
title += ": "; title += ": ";
title += g_info.hw_caps->boxvendor; title += g_info.hw_caps->boxvendor;
title += " "; title += " ";
title += g_info.hw_caps->boxname; title += g_info.hw_caps->boxname;
title += " (";
title += g_info.hw_caps->boxarch;
title += ")";
width = std::max(width, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getRenderWidth(title, true) + 50); width = std::max(width, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getRenderWidth(title, true) + 50);
x = getScreenStartX(width); x = getScreenStartX(width);