mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:57:34 +00:00
LibGUI: Enable searching through ListView items by keyboard
ComboBoxes and a FontPicker window will now react to keyboard press.
This commit is contained in:
parent
c2a89cac4e
commit
ebe8778876
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ ListView::ListView()
|
||||||
set_fill_with_background_color(true);
|
set_fill_with_background_color(true);
|
||||||
set_background_role(ColorRole::Base);
|
set_background_role(ColorRole::Base);
|
||||||
set_foreground_role(ColorRole::BaseText);
|
set_foreground_role(ColorRole::BaseText);
|
||||||
|
set_searchable(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
ListView::~ListView()
|
ListView::~ListView()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue