mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:48:11 +00:00
LibGUI: Allow blocking CommandPalette/EmojiInput on a per Window basis
Instead of having to negate every focusable widget or textbox, let windows override all their widgets. These two Dialogs now block themselves and each other.
This commit is contained in:
parent
bfcb4d88cf
commit
f8e65d24cf
5 changed files with 20 additions and 3 deletions
|
@ -53,6 +53,8 @@ EmojiInputDialog::EmojiInputDialog(Window* parent_window)
|
|||
VERIFY_NOT_REACHED();
|
||||
|
||||
set_frameless(true);
|
||||
set_blocks_command_palette(true);
|
||||
set_blocks_emoji_input(true);
|
||||
resize(400, 300);
|
||||
|
||||
auto& scrollable_container = *main_widget.find_descendant_of_type_named<GUI::ScrollableContainerWidget>("scrollable_container"sv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue