mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +00:00
LibGUI: Make the GTableView row background colors a little brighter
This has been bothering me for a long time.. :^)
This commit is contained in:
parent
386bf8b763
commit
0b0017bbbd
Notes:
sideshowbarker
2024-07-19 11:07:57 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/0b0017bbbd7
1 changed files with 3 additions and 3 deletions
|
@ -284,11 +284,11 @@ void GTableView::paint_event(GPaintEvent& event)
|
|||
key_column_background_color = is_focused() ? Color::from_rgb(0x84351a) : Color::from_rgb(0x606060);
|
||||
} else {
|
||||
if (alternating_row_colors() && (painted_item_index % 2)) {
|
||||
background_color = Color(210, 210, 210);
|
||||
key_column_background_color = Color(180, 180, 180);
|
||||
background_color = Color(220, 220, 220);
|
||||
key_column_background_color = Color(200, 200, 200);
|
||||
} else {
|
||||
background_color = Color::White;
|
||||
key_column_background_color = Color(210, 210, 210);
|
||||
key_column_background_color = Color(220, 220, 220);
|
||||
}
|
||||
}
|
||||
painter.fill_rect(row_rect(painted_item_index), background_color);
|
||||
|
|
Loading…
Add table
Reference in a new issue