From 043c91ee736e3f7dba44e42e73f48aed0b4f8b8c Mon Sep 17 00:00:00 2001 From: "[CST] 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 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/951acc4affb371faa3a8dbe724ec559848830290 Author: [CST] Focus Date: 2011-11-22 (Tue, 22 Nov 2011) --- 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;