summaryrefslogtreecommitdiff
path: root/LibGUI/GTableView.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-20 19:41:37 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-20 19:41:37 +0200
commitde913529d7c7c76ba78dbbf0d2bfd1dae5a96437 (patch)
tree16cb20d3c8dd0d0b4ae55735199dbcf5fbf2895a /LibGUI/GTableView.cpp
parent5f63f8120ca574609cd7407bbb12dd625a67c061 (diff)
downloadserenity-de913529d7c7c76ba78dbbf0d2bfd1dae5a96437.zip
GTableView: Tweak appearance of key column with alternating rows.
Diffstat (limited to 'LibGUI/GTableView.cpp')
-rw-r--r--LibGUI/GTableView.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGUI/GTableView.cpp b/LibGUI/GTableView.cpp
index 342e57720d..326b08241c 100644
--- a/LibGUI/GTableView.cpp
+++ b/LibGUI/GTableView.cpp
@@ -147,10 +147,10 @@ void GTableView::paint_event(GPaintEvent& event)
} else {
if (alternating_row_colors() && (painted_item_index % 2)) {
background_color = Color(210, 210, 210);
- key_column_background_color = Color(190, 190, 190);
+ key_column_background_color = Color(180, 180, 180);
} else {
background_color = Color::White;
- key_column_background_color = Color(235, 235, 235);
+ key_column_background_color = Color(210, 210, 210);
}
}
painter.fill_rect(row_rect(painted_item_index), background_color);