mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 15:04:59 +00:00
LibGUI: Use SystemColor::Text in more places
This commit is contained in:
parent
79f7482ad3
commit
9171aef724
6 changed files with 9 additions and 7 deletions
|
@ -95,7 +95,7 @@ void GTableView::paint_event(GPaintEvent& event)
|
|||
if (is_selected_row)
|
||||
text_color = Color::White;
|
||||
else
|
||||
text_color = model()->data(cell_index, GModel::Role::ForegroundColor).to_color(Color::Black);
|
||||
text_color = model()->data(cell_index, GModel::Role::ForegroundColor).to_color(SystemColor::Text);
|
||||
painter.draw_text(cell_rect, data.to_string(), font, column_metadata.text_alignment, text_color, TextElision::Right);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue