From ae9c6ccad6ba1ab419fe73d9e75f545cbbb62c96 Mon Sep 17 00:00:00 2001 From: Andreas Mair Date: Mon, 18 Jun 2007 16:15:02 +0200 Subject: 2007-06-18: Version 0.0.5rc2 - Added Italian translation (Submitted by Gringo). - Changed logging to only report missing channel logos once. - Use MAXFONTNAME and MAXFONTSIZE as introduced in VDR 1.5.3. - Recognize VDR >=1.5.3 and disable HAVE_FREETYPE. - Fixed font initialization. - Updated MoBuntu theme (Submitted by Morone @vdr-portal.de). - Set correct editable width for OSD text inputs (Reported by Brougs78 @vdr-portal.de). - Fixed calculation of bottom line in channel info (Reported by CKone @vdr-portal.de). - Hide "Set" button in fonts setup if TTF support disabled. - Fixed crash in TTF setup if no TrueType fonts were found (Reported by pat @vdr-portal.de). - Set correct title in setup submenus (Reported by pat @vdr-portal.de). - Minor bugfixes. --- enigma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'enigma.c') diff --git a/enigma.c b/enigma.c index 93beb0d..4ace2d8 100644 --- a/enigma.c +++ b/enigma.c @@ -311,7 +311,7 @@ cSkinEnigmaDisplayChannel::cSkinEnigmaDisplayChannel(bool WithInfo) xBottomLeft = xTitleLeft; xBottomRight = xTitleRight; yBottomTop = yEventNextBottom + SmallGap; - yBottomBottom = yBottomTop + pFontDate->Height(); + yBottomBottom = yBottomTop + pFontLanguage->Height(); // message area xMessageLeft = xEventNowLeft; xMessageRight = xTitleRight; @@ -1852,7 +1852,7 @@ void cSkinEnigmaDisplayMenu::SetItem(const char *Text, int Index, bool Current, break; } //set editable width - SetEditableWidth(xItemRight - Tab(1)); + SetEditableWidth(xItemRight - Tab(1) - xItemLeft); #ifndef SKINENIGMA_NO_MENULOGO // debug("SetItem: (%s) %d %d %d\n", Text, Index, Current, Selectable); -- cgit v1.2.3