mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
check ChanWidth size if to smal
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@254 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -218,6 +218,11 @@ void CInfoViewer::start ()
|
|||||||
{ /* default mode, with signal bars etc. */
|
{ /* default mode, with signal bars etc. */
|
||||||
ChanWidth = 122;
|
ChanWidth = 122;
|
||||||
ChanHeight = 74;
|
ChanHeight = 74;
|
||||||
|
int test = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getRenderWidth("12555.0 MHz H") + 10;
|
||||||
|
if(test > ChanWidth){
|
||||||
|
ChanWidth = test;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BoxStartX = g_settings.screen_StartX + 10;
|
BoxStartX = g_settings.screen_StartX + 10;
|
||||||
|
Reference in New Issue
Block a user