remove w_max()-calls to define menu-width, because ...

w-max() returns a pixel-value, but menus need a percentage-value.


Origin commit data
------------------
Branch: ni/coolstream
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 was generated by Migit
This commit is contained in:
vanhofen
2015-04-24 09:11:04 +02:00
parent 51f2d5e54a
commit 32365276ef
40 changed files with 46 additions and 46 deletions

View File

@@ -3422,7 +3422,7 @@ class CYTHistory : public CMenuTarget
CYTHistory::CYTHistory(MB_SETTINGS &_settings, std::string &_search)
{
width = w_max(40, 10);
width = 40;
selected = -1;
settings = &_settings;
search = &_search;