mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +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:
@@ -316,7 +316,7 @@ const CMenuOptionChooser::keyval SATSETUP_FRONTEND_MODE[SATSETUP_FRONTEND_MODE_C
|
||||
|
||||
CScanSetup::CScanSetup(bool wizard_mode)
|
||||
{
|
||||
width = w_max (40, 10);
|
||||
width = 40;
|
||||
is_wizard = wizard_mode;
|
||||
|
||||
satOnOff = NULL;
|
||||
@@ -1938,7 +1938,7 @@ int CTPSelectHandler::exec(CMenuTarget* parent, const std::string &actionkey)
|
||||
static int old_selected = 0;
|
||||
static t_satellite_position old_position = 0;
|
||||
|
||||
int width = w_max (40, 10);
|
||||
int width = 40;
|
||||
|
||||
if (parent)
|
||||
parent->hide();
|
||||
|
Reference in New Issue
Block a user