mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 22:38:51 +00:00
FilePicker: Add folder icon to location box
It looks good in FileManager so it will also look good here :^)
FileManager commit: b8a50e9
This commit is contained in:
parent
f8fa495d67
commit
33ca151eb0
Notes:
sideshowbarker
2024-07-19 05:13:49 +09:00
Author: https://github.com/linusg
Commit: 33ca151eb0
Pull-request: https://github.com/SerenityOS/serenity/pull/2680
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ FilePicker::FilePicker(Mode mode, const StringView& file_name, const StringView&
|
|||
location_textbox.set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
|
||||
location_textbox.set_preferred_size(0, 22);
|
||||
location_textbox.set_text(path);
|
||||
location_textbox.set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/filetype-folder.png"));
|
||||
|
||||
m_view = vertical_container.add<MultiView>();
|
||||
m_view->set_model(SortingProxyModel::create(*m_model));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue