Revert "- bouquetlist: ugly workaround for better readability"

This reverts commit b53ef18825.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4db9d23380
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-11-18 (Thu, 18 Nov 2021)



------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-11-18 22:09:09 +01:00
parent 00a59a3136
commit 61700d8d8c

View File

@@ -425,8 +425,7 @@ int CBouquetList::show(bool bShowChannelList)
It would be better to get the needed width from
CComponententsFooter class.
*/
int numButtons = (sizeof(CBouquetListButtons)/sizeof(CBouquetListButtons[0]));
width = numButtons*(w_max_icon + w_max_text + numButtons*OFFSET_INNER_MID);
width = (sizeof(CBouquetListButtons)/sizeof(CBouquetListButtons[0]))*(w_max_icon + w_max_text + 2*OFFSET_INNER_MID);
height = 16*item_height;
header_height = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight();