channellist, align channelname and description to the same baseline

Origin commit data
------------------
Branch: ni/coolstream
Commit: e0d96ebe36
Author: TangoCash <eric@loxat.de>
Date: 2022-05-06 (Fri, 06 May 2022)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2022-05-06 23:41:05 +02:00
committed by vanhofen
parent 1f43b279f4
commit 8b62262097
2 changed files with 3 additions and 1 deletions

View File

@@ -2217,7 +2217,7 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
}
g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST]->RenderString(x + OFFSET_INNER_MID + numwidth + OFFSET_INNER_MID + prg_offset + OFFSET_INNER_MID, ypos + fheight, ch_name_len, nameAndDescription, color);
int descr_offset = fheight/2 - g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_DESCR]->getHeight()/2;
int descr_offset = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST]->getDescender() - g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_DESCR]->getDescender();
if (g_settings.channellist_epgtext_align_right)
{
// align right