mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
listframe: fix calculation of width for rendering titles
Origin commit data
------------------
Commit: 705f11192d
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-02-16 (Sat, 16 Feb 2019)
Origin message was:
------------------
- listframe: fix calculation of width for rendering titles
This commit is contained in:
@@ -359,7 +359,7 @@ void CListFrame::refreshTitle(void)
|
||||
|
||||
m_pcFontTitle->RenderString(m_cFrameTitleRel.iX + OFFSET_INNER_MID + m_cFrame.iX,
|
||||
m_cFrameTitleRel.iY + m_cFrameTitleRel.iHeight + m_cFrame.iY,
|
||||
m_cFrameTitleRel.iWidth - (OFFSET_INNER_MID << 1),
|
||||
m_cFrameTitleRel.iWidth - 2*OFFSET_INNER_MID,
|
||||
m_textTitle.c_str(), TITLE_FONT_COLOR);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user