mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
CMenuWidget: set frame thickness
default value in CComponentsInfoBox is inherit from CComponentsContainer and =0, baut we need =2
This commit is contained in:
@@ -1159,6 +1159,7 @@ void CMenuWidget::paintHint(int pos)
|
||||
std::string str = g_Locale->getText(item->hint);
|
||||
if (info_box){
|
||||
info_box->setDimensionsAll(x, ypos2, iwidth, hint_height);
|
||||
info_box->setFrameThickness(2);
|
||||
info_box->removeLineBreaks(str);
|
||||
info_box->setText(str, CTextBox::AUTO_WIDTH, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_HINT]);
|
||||
info_box->setCornerRadius(RADIUS_LARGE);
|
||||
|
Reference in New Issue
Block a user