From 6cfbe89ce0d0e03c0db4a5a3c42bbcd9d9c183b7 Mon Sep 17 00:00:00 2001 From: Martin Schirrmacher Date: Sat, 21 Feb 2015 12:44:11 +0100 Subject: [fix] position of widgets in main menu (add menu item border size) --- HISTORY | 2 ++ displaymenu.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index 19eccbac..e39167cd 100644 --- a/HISTORY +++ b/HISTORY @@ -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; -- cgit v1.2.3