mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- listframe: fix alignment of headerlist to content below
* since scrollbar isn't paint over the full height we have to reduce the netto width by a possible scrollbar width Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -480,6 +480,7 @@ void CListFrame::refreshHeaderList(void)
|
||||
int x = m_cFrameHeaderListRel.iX + OFFSET_INNER_MID;
|
||||
int y = m_cFrameHeaderListRel.iY + m_nFontHeaderListHeight + OFFSET_INNER_MIN;
|
||||
int net_width = m_cFrameHeaderListRel.iWidth - OFFSET_INNER_SMALL * (m_pLines->rows - 1);
|
||||
net_width -= m_cFrameScrollRel.iWidth;
|
||||
bool loop = true;
|
||||
for(int row = 0; row < m_pLines->rows && loop == true; row++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user