summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/FilePickerDialog.gml
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-10-21 19:33:08 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-21 23:23:24 +0200
commitc1576aca1109dfea287e72d943b432d87d509ff4 (patch)
tree4bafc2581516432ff6429863dd946de4cddd6fbd /Userland/Libraries/LibGUI/FilePickerDialog.gml
parentae2579d8b5c5f6544d5d31c09cde70c84a37bb6b (diff)
downloadserenity-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.gml10
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 {