mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +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:
committed by
Andreas Kling
parent
24d299c9c8
commit
4aa608aa71
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user