mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibGUI+Taskbar+Applets+Applications: Set various windows as Popups
Makes the Audio applet, Taskbar clock, CommandPalette, EmojiPicker, and Assistant work as Popup windows. Popups are frameless, unmovable, and unresizable by default, in addition to their preemptive function. Also sets Assistant not to obey widget min size so its search result area resizes correctly
This commit is contained in:
parent
24d299c9c8
commit
4aa608aa71
Notes:
sideshowbarker
2024-07-17 04:18:47 +09:00
Author: https://github.com/thankyouverycool
Commit: 4aa608aa71
Pull-request: https://github.com/SerenityOS/serenity/pull/16098
5 changed files with 8 additions and 9 deletions
|
@ -98,7 +98,8 @@ EmojiInputDialog::EmojiInputDialog(Window* parent_window)
|
|||
if (!main_widget.load_from_gml(emoji_input_dialog_gml))
|
||||
VERIFY_NOT_REACHED();
|
||||
|
||||
set_frameless(true);
|
||||
set_window_type(GUI::WindowType::Popup);
|
||||
set_window_mode(GUI::WindowMode::Modeless);
|
||||
set_blocks_emoji_input(true);
|
||||
resize(400, 300);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue