mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-18 10:51:07 +02:00
bouquetlist: ugly workaround for better readability
Origin commit data
------------------
Commit: 3864334143
Author: TangoCash <eric@loxat.de>
Date: 2021-11-13 (Sat, 13 Nov 2021)
Origin message was:
------------------
- bouquetlist: ugly workaround for better readability
This commit is contained in:
@@ -425,7 +425,8 @@ int CBouquetList::show(bool bShowChannelList)
|
||||
It would be better to get the needed width from
|
||||
CComponententsFooter class.
|
||||
*/
|
||||
width = (sizeof(CBouquetListButtons)/sizeof(CBouquetListButtons[0]))*(w_max_icon + w_max_text + 2*OFFSET_INNER_MID);
|
||||
int numButtons = (sizeof(CBouquetListButtons)/sizeof(CBouquetListButtons[0]));
|
||||
width = numButtons*(w_max_icon + w_max_text + numButtons*OFFSET_INNER_MID);
|
||||
height = 16*item_height;
|
||||
|
||||
header_height = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight();
|
||||
|
Reference in New Issue
Block a user