From 951acc4affb371faa3a8dbe724ec559848830290 Mon Sep 17 00:00:00 2001 From: focus Date: Tue, 22 Nov 2011 17:10:19 +0000 Subject: [PATCH] Attempt to fix osd preset change: if CRT is current, switch to LCD still show scroll-bar git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1882 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/widget/menue.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index d58d367d2..597c1a1c7 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -742,7 +742,10 @@ void CMenuWidget::paint() CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8, nameString.c_str()); - height = wanted_height; + /* FIXME why wanted_height needed ? in ::exec it set to height, + * here height set to wanted_height ?? */ + //height = wanted_height; + height = frameBuffer->getScreenHeight() / 20 * 18; /* make sure its a multiple of 2 */ width = min_width; int wi, hi;