1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:17:35 +00:00

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.
This commit is contained in:
Andreas Kling 2021-10-21 19:33:08 +02:00
parent ae2579d8b5
commit c1576aca11
3 changed files with 16 additions and 29 deletions

View file

@ -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 {