mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
CMenuWidget: set frame thickness
default value in CComponentsInfoBox is inherit from CComponentsContainer
and =0, baut we need =2
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7df6748f74
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-23 (Thu, 23 Aug 2012)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1159,6 +1159,7 @@ void CMenuWidget::paintHint(int pos)
|
|||||||
std::string str = g_Locale->getText(item->hint);
|
std::string str = g_Locale->getText(item->hint);
|
||||||
if (info_box){
|
if (info_box){
|
||||||
info_box->setDimensionsAll(x, ypos2, iwidth, hint_height);
|
info_box->setDimensionsAll(x, ypos2, iwidth, hint_height);
|
||||||
|
info_box->setFrameThickness(2);
|
||||||
info_box->removeLineBreaks(str);
|
info_box->removeLineBreaks(str);
|
||||||
info_box->setText(str, CTextBox::AUTO_WIDTH, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_HINT]);
|
info_box->setText(str, CTextBox::AUTO_WIDTH, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_HINT]);
|
||||||
info_box->setCornerRadius(RADIUS_LARGE);
|
info_box->setCornerRadius(RADIUS_LARGE);
|
||||||
|
Reference in New Issue
Block a user