summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/ItemView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/ItemView.cpp')
-rw-r--r--Libraries/LibGUI/ItemView.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGUI/ItemView.cpp b/Libraries/LibGUI/ItemView.cpp
index bbd2db5cd2..4cae359cac 100644
--- a/Libraries/LibGUI/ItemView.cpp
+++ b/Libraries/LibGUI/ItemView.cpp
@@ -259,6 +259,7 @@ void ItemView::paint_event(PaintEvent& event)
painter.add_clip_rect(widget_inner_rect());
painter.add_clip_rect(event.rect());
painter.fill_rect(event.rect(), widget_background_color);
+ painter.translate(frame_thickness(), frame_thickness());
painter.translate(-horizontal_scrollbar().value(), -vertical_scrollbar().value());
auto column_metadata = model()->column_metadata(m_model_column);