diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-27 20:48:23 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-27 20:48:23 +0100 |
commit | 670e376e277b56edc6ad8fe2ac5856c5c88a7322 (patch) | |
tree | 9e2a1482a925e1af7ec0e9f8e3ef84fbf83e5407 /LibGUI/GTableView.cpp | |
parent | d71820a382a5b7f36065ed611cbdd83fe5042a37 (diff) | |
download | serenity-670e376e277b56edc6ad8fe2ac5856c5c88a7322.zip |
Tweak the look of various UI surfaces and buttons.
Diffstat (limited to 'LibGUI/GTableView.cpp')
-rw-r--r-- | LibGUI/GTableView.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGUI/GTableView.cpp b/LibGUI/GTableView.cpp index 4cf7652b5e..fb783d0c0a 100644 --- a/LibGUI/GTableView.cpp +++ b/LibGUI/GTableView.cpp @@ -183,7 +183,7 @@ void GTableView::paint_headers(Painter& painter) int exposed_width = max(content_size().width(), width()); painter.fill_rect({ 0, 0, exposed_width, header_height() }, Color::LightGray); painter.draw_line({ 0, 0 }, { exposed_width - 1, 0 }, Color::White); - painter.draw_line({ 0, header_height() - 1 }, { exposed_width - 1, header_height() - 1 }, Color::DarkGray); + painter.draw_line({ 0, header_height() - 1 }, { exposed_width - 1, header_height() - 1 }, Color::MidGray); int x_offset = 0; for (int column_index = 0; column_index < model()->column_count(); ++column_index) { if (is_column_hidden(column_index)) @@ -199,7 +199,7 @@ void GTableView::paint_headers(Painter& painter) x_offset += column_width + horizontal_padding() * 2; // Draw column separator. painter.draw_line(cell_rect.top_left().translated(0, 1), cell_rect.bottom_left().translated(0, -1), Color::White); - painter.draw_line(cell_rect.top_right(), cell_rect.bottom_right().translated(0, -1), Color::DarkGray); + painter.draw_line(cell_rect.top_right(), cell_rect.bottom_right().translated(0, -1), Color::MidGray); } // Draw the "start" of a new column to make the last separator look right. painter.draw_line({ x_offset, 1 }, { x_offset, header_height() - 2 }, Color::White); |