1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 02:25:09 +00:00

FileManager+LibGUI: Draw the item text for desktop icons with shadow

This makes it look nice regardless of wallpaper or background color.
This commit is contained in:
Andreas Kling 2020-12-16 12:16:14 +01:00
parent 0fef901513
commit 2759d518b7
3 changed files with 10 additions and 1 deletions

View file

@ -214,6 +214,7 @@ void DirectoryView::setup_icon_view()
m_icon_view->set_frame_shape(Gfx::FrameShape::NoFrame);
m_icon_view->set_scrollbars_enabled(false);
m_icon_view->set_fill_with_background_color(false);
m_icon_view->set_draw_item_text_with_shadow(true);
}
m_icon_view->set_model(m_sorting_model);