From e08b2ded6eefd12f14883b09f88d3d04b9e18c78 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 23 Feb 2010 10:20:53 +0000 Subject: [PATCH] Set minimum menu width to 30% git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@401 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/9a56e4cb039f430cae235ea5c18822c02d8ba582 Author: [CST] Focus Date: 2010-02-23 (Tue, 23 Feb 2010) --- src/gui/widget/menue.h | 4 ++-- src/neutrino.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/widget/menue.h b/src/gui/widget/menue.h index 2eef17214..080de4433 100644 --- a/src/gui/widget/menue.h +++ b/src/gui/widget/menue.h @@ -353,8 +353,8 @@ class CMenuWidget : public CMenuTarget CMenuWidget(); /* TODO: mheight is not used anymore. remove if nobody misses it */ /* mwidth (minimum width) in percent of screen width */ - CMenuWidget(const char* Name, const std::string & Icon = "", const int mwidth = 0, const int mheight = 576); - CMenuWidget(const neutrino_locale_t Name, const std::string & Icon = "", const int mwidth = 0, const int mheight = 576); + CMenuWidget(const char* Name, const std::string & Icon = "", const int mwidth = 30, const int mheight = 576); + CMenuWidget(const neutrino_locale_t Name, const std::string & Icon = "", const int mwidth = 30, const int mheight = 576); ~CMenuWidget(); virtual void addItem(CMenuItem* menuItem, const bool defaultselected = false); diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 9f08b9534..8ac53f8b5 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2440,7 +2440,7 @@ int CNeutrinoApp::run(int argc, char **argv) c_SMSKeyInput = new SMSKeyInput(); //Main settings - CMenuWidget mainMenu (LOCALE_MAINMENU_HEAD , NEUTRINO_ICON_MAINMENU, 22); + CMenuWidget mainMenu (LOCALE_MAINMENU_HEAD , NEUTRINO_ICON_MAINMENU/*, 22*/); CMenuWidget mainSettings (LOCALE_MAINSETTINGS_HEAD , NEUTRINO_ICON_SETTINGS); CMenuWidget languageSettings (LOCALE_LANGUAGESETUP_HEAD , NEUTRINO_ICON_LANGUAGE); CMenuWidget audioSettings (LOCALE_AUDIOMENU_HEAD , NEUTRINO_ICON_AUDIO);