mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
Revert "-bouquetlist: ugly workaround for better readability"
This reverts commit 5011c3474c
.
This commit is contained in:
@@ -425,8 +425,7 @@ int CBouquetList::show(bool bShowChannelList)
|
|||||||
It would be better to get the needed width from
|
It would be better to get the needed width from
|
||||||
CComponententsFooter class.
|
CComponententsFooter class.
|
||||||
*/
|
*/
|
||||||
int numButtons = (sizeof(CBouquetListButtons)/sizeof(CBouquetListButtons[0]));
|
width = (sizeof(CBouquetListButtons)/sizeof(CBouquetListButtons[0]))*(w_max_icon + w_max_text + 2*OFFSET_INNER_MID);
|
||||||
width = numButtons*(w_max_icon + w_max_text + numButtons*OFFSET_INNER_MID);
|
|
||||||
height = 16*item_height;
|
height = 16*item_height;
|
||||||
|
|
||||||
header_height = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight();
|
header_height = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight();
|
||||||
|
Reference in New Issue
Block a user