From 47c8f071c8b14aef9b89f0c4a6ccd1b2d467fd69 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sat, 16 Feb 2019 23:19:04 +0100 Subject: [PATCH] - listframe: simplify calculation of m_cFrameScrollRel.iHeight Signed-off-by: Thilo Graf --- 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 4719580f4..a163540cf 100644 --- a/src/gui/widget/listframe.cpp +++ b/src/gui/widget/listframe.cpp @@ -272,7 +272,7 @@ void CListFrame::initFramesRel(void) m_cFrameScrollRel.iX = m_cFrame.iWidth - SCROLLBAR_WIDTH; m_cFrameScrollRel.iY = m_cFrameTitleRel.iHeight + m_cFrameHeaderListRel.iHeight; m_cFrameScrollRel.iWidth = SCROLLBAR_WIDTH; - m_cFrameScrollRel.iHeight = m_cFrameHeaderListRel.iHeight + m_cFrameListRel.iHeight - m_cFrameHeaderListRel.iHeight - m_nBgRadius; + m_cFrameScrollRel.iHeight = m_cFrameListRel.iHeight - m_nBgRadius; } else {