diff options
author | Andreas Kling <kling@serenityos.org> | 2020-12-16 12:16:14 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-16 12:16:14 +0100 |
commit | 2759d518b7fcb87b3f2a63b63e3f7e02c6ae973a (patch) | |
tree | e08f91295c2d42ba106832a3b6a4eb18a1988aa2 /Applications/FileManager | |
parent | 0fef901513fddc4fef9e18fada9700297ea0f1e3 (diff) | |
download | serenity-2759d518b7fcb87b3f2a63b63e3f7e02c6ae973a.zip |
FileManager+LibGUI: Draw the item text for desktop icons with shadow
This makes it look nice regardless of wallpaper or background color.
Diffstat (limited to 'Applications/FileManager')
-rw-r--r-- | Applications/FileManager/DirectoryView.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Applications/FileManager/DirectoryView.cpp b/Applications/FileManager/DirectoryView.cpp index c826569d38..b5b2cc106d 100644 --- a/Applications/FileManager/DirectoryView.cpp +++ b/Applications/FileManager/DirectoryView.cpp @@ -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); |