mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 13:15:06 +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
|
@ -129,7 +129,7 @@ void GListView::paint_event(GPaintEvent& event)
|
|||
if (is_selected_row)
|
||||
text_color = Color::White;
|
||||
else
|
||||
text_color = model()->data(index, GModel::Role::ForegroundColor).to_color(Color::Black);
|
||||
text_color = model()->data(index, GModel::Role::ForegroundColor).to_color(SystemColor::Text);
|
||||
auto text_rect = row_rect;
|
||||
text_rect.move_by(horizontal_padding(), 0);
|
||||
text_rect.set_width(text_rect.width() - horizontal_padding() * 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue