mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
CMenuWidget::calcSize: Add forgotten 'wi'
Origin commit data
------------------
Branch: ni/coolstream
Commit: d0b02a9752
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-03-13 (Mon, 13 Mar 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1116,7 +1116,7 @@ void CMenuWidget::calcSize()
|
|||||||
else
|
else
|
||||||
wi = 0;
|
wi = 0;
|
||||||
}
|
}
|
||||||
int tmpw = items[i]->getWidth() + 2*OFFSET_INNER_MID; /* 10 pixels to the left and right of the text */
|
int tmpw = items[i]->getWidth() + 2*OFFSET_INNER_MID + wi; /* 10 pixels to the left and right of the text */
|
||||||
if (tmpw > width)
|
if (tmpw > width)
|
||||||
width = tmpw;
|
width = tmpw;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user