From 55ce53caaee44c19fa868991a1a090fc6ef96a3c Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 11 Feb 2019 11:14:12 +0100 Subject: [PATCH] listframe.cpp: remove unneeded offset Bottom of text was over painted --- src/gui/widget/listframe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widget/listframe.cpp b/src/gui/widget/listframe.cpp index d0fdf7a0a..36fcc0589 100644 --- a/src/gui/widget/listframe.cpp +++ b/src/gui/widget/listframe.cpp @@ -478,7 +478,7 @@ void CListFrame::refreshHeaderList(void) int width; int x = m_cFrameHeaderListRel.iX + OFFSET_INNER_MID; - int y = m_cFrameHeaderListRel.iY + m_nFontHeaderListHeight + 2; + int y = m_cFrameHeaderListRel.iY + m_nFontHeaderListHeight; int net_width = m_cFrameHeaderListRel.iWidth - OFFSET_INNER_SMALL * (m_pLines->rows - 1); bool loop = true; for(int row = 0; row < m_pLines->rows && loop == true; row++)