diff options
author | Andreas Kling <kling@serenityos.org> | 2021-10-21 19:33:08 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-21 23:23:24 +0200 |
commit | c1576aca1109dfea287e72d943b432d87d509ff4 (patch) | |
tree | 4bafc2581516432ff6429863dd946de4cddd6fbd /Userland/Libraries/LibGUI/FilePickerDialog.gml | |
parent | ae2579d8b5c5f6544d5d31c09cde70c84a37bb6b (diff) | |
download | serenity-c1576aca1109dfea287e72d943b432d87d509ff4.zip |
LibGUI: Use the new GUI::Tray widget in GUI::FilePicker
This removes all the extra entries from the keyboard focus chain and
makes FilePicker actually pleasant to navigate with the keyboard.
Diffstat (limited to 'Userland/Libraries/LibGUI/FilePickerDialog.gml')
-rw-r--r-- | Userland/Libraries/LibGUI/FilePickerDialog.gml | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Userland/Libraries/LibGUI/FilePickerDialog.gml b/Userland/Libraries/LibGUI/FilePickerDialog.gml index e775bb10bc..87b5b7e0f1 100644 --- a/Userland/Libraries/LibGUI/FilePickerDialog.gml +++ b/Userland/Libraries/LibGUI/FilePickerDialog.gml @@ -18,15 +18,9 @@ fixed_height: 24 } - @GUI::Frame { - name: "common_locations_frame" + @GUI::Tray { + name: "common_locations_tray" fixed_width: 95 - fill_with_background_color: true - - layout: @GUI::VerticalBoxLayout { - margins: [2] - spacing: 0 - } } @GUI::Label { |