diff options
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | displaymenu.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -2,6 +2,8 @@ VDR Plugin 'skinflatplus' Revision History --------------------------------------- 2015-MM-DD: Version 0.5.2 - [fix] eMenuSortMode in displaymenu.h for compile with VDR < 2.2.0 +- [fix] position of widgets in main menu (add menu item border size) + 2015-02-14: Version 0.5.1 - [fix] topbar number recordings diff --git a/displaymenu.c b/displaymenu.c index 37972447..850bae6e 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -4000,7 +4000,7 @@ const char* cFlatDisplayMenu::GetGenreIcon(uchar genre) { } void cFlatDisplayMenu::DrawMainMenuWidgets(void) { - int wLeft = osdWidth * Config.MainMenuItemScale + marginItem + Config.decorBorderMenuContentSize; + int wLeft = osdWidth * Config.MainMenuItemScale + marginItem + Config.decorBorderMenuContentSize + Config.decorBorderMenuItemSize; int wTop = topBarHeight + marginItem + Config.decorBorderTopBarSize*2 + Config.decorBorderMenuContentSize; int wWidth = osdWidth - wLeft - Config.decorBorderMenuContentSize; |