CMenuWidget: set frame thickness

default value in CComponentsInfoBox is inherit from CComponentsContainer
and =0, baut we need =2
This commit is contained in:
2012-08-23 10:53:36 +02:00
parent d521cac983
commit 7df6748f74

View File

@@ -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);