From c65c956f856cba164db9de5cbbc10eded60675fa Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Thu, 21 Sep 2023 00:47:54 +0200 Subject: [PATCH] Move the header separator one pixel down --- src/gui/Src/BasicView/AbstractTableView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/Src/BasicView/AbstractTableView.cpp b/src/gui/Src/BasicView/AbstractTableView.cpp index 8373b755..90736bd2 100644 --- a/src/gui/Src/BasicView/AbstractTableView.cpp +++ b/src/gui/Src/BasicView/AbstractTableView.cpp @@ -256,7 +256,7 @@ void AbstractTableView::paintEvent(QPaintEvent* event) painter.setPen(separatorPen); } - painter.drawLine(x, y + height - separatorPen.width(), x + width - separatorPen.width(), y + height - separatorPen.width()); + painter.drawLine(x, y + height - separatorPen.width() + 1, x + width - separatorPen.width(), y + height - separatorPen.width() + 1); painter.drawLine(x + width - separatorPen.width() + 1, y, x + width - separatorPen.width() + 1, y + height - separatorPen.width()); x += width;