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

LibGUI: Add a GUI::Tray widget for the FilePicker common locations

The FilePicker has implemented its common locations tray as a composite
widget built from a GUI::Frame with a bunch of GUI::Button inside it.
The problem with that is that it creates a long and annoying chain of
keyboard-focusable widgets.

This patch adds GUI::Tray, which is a dedicated single widget that
implements the same UI element, but without child widgets.
This commit is contained in:
Andreas Kling 2021-10-21 19:28:46 +02:00
parent 25475f7003
commit ae2579d8b5
3 changed files with 271 additions and 0 deletions

View file

@ -98,6 +98,7 @@ set(SOURCES
TextEditor.cpp
Toolbar.cpp
ToolbarContainer.cpp
Tray.cpp
TreeView.cpp
UndoStack.cpp
ValueSlider.cpp