mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
remove w_max()-calls to define menu-width, because ...
w-max() returns a pixel-value, but menus need a percentage-value.
Origin commit data
------------------
Commit: 9041bff59c
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-04-24 (Fri, 24 Apr 2015)
Origin message was:
------------------
- remove w_max()-calls to define menu-width, because ...
w-max() returns a pixel-value, but menus need a percentage-value.
This commit is contained in:
@@ -324,7 +324,7 @@ int CPersonalizeGui::exec(CMenuTarget* parent, const string & actionKey)
|
||||
//the PIN code feature, as well as determine whether or not the EPG menu/Features menu is accessible.
|
||||
int CPersonalizeGui::ShowPersonalizationMenu()
|
||||
{
|
||||
width = w_max (40, 10);
|
||||
width = 40;
|
||||
|
||||
CMenuWidget* pMenu = new CMenuWidget(g_settings.easymenu ? LOCALE_PARENTALLOCK_MENU : LOCALE_PERSONALIZE_HEAD, NEUTRINO_ICON_PERSONALIZE, width, MN_WIDGET_ID_PERSONALIZE);
|
||||
pMenu->addIntroItems(NONEXISTANT_LOCALE, LOCALE_PERSONALIZE_ACCESS);
|
||||
|
Reference in New Issue
Block a user