mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
neutrino: improve menu width calculation
calculate menu width in paint() instead of addItem() this allows to cahnge the width of a menu later on dynamically git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@308 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -331,7 +331,7 @@ class CMenuWidget : public CMenuTarget
|
||||
std::vector<unsigned int> page_start;
|
||||
std::string iconfile;
|
||||
|
||||
int needed_width;
|
||||
int min_width;
|
||||
int width;
|
||||
int height;
|
||||
int wanted_height;
|
||||
|
Reference in New Issue
Block a user