mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
gui/widget/menue.cpp: fix hint box height calc
This commit is contained in:
@@ -787,7 +787,7 @@ void CMenuWidget::calcSize()
|
|||||||
}
|
}
|
||||||
hint_height = 0;
|
hint_height = 0;
|
||||||
if(g_settings.show_menu_hints && has_hints) {
|
if(g_settings.show_menu_hints && has_hints) {
|
||||||
int fheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight();
|
int fheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_HINT]->getHeight();
|
||||||
hint_height = 10 + 2*fheight;
|
hint_height = 10 + 2*fheight;
|
||||||
/* assuming all hint icons has the same size ! */
|
/* assuming all hint icons has the same size ! */
|
||||||
int iw, ih;
|
int iw, ih;
|
||||||
|
Reference in New Issue
Block a user