mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
Applications: Use modeless windows in some apps
Browser, Spreadsheet and Charactermap now open child windows modelessly.
This commit is contained in:
parent
35a230f974
commit
d5de9bcc51
Notes:
sideshowbarker
2024-07-17 07:46:26 +09:00
Author: https://github.com/thankyouverycool
Commit: d5de9bcc51
Pull-request: https://github.com/SerenityOS/serenity/pull/15009
Issue: https://github.com/SerenityOS/serenity/issues/10970
Issue: https://github.com/SerenityOS/serenity/issues/13036
3 changed files with 4 additions and 0 deletions
|
@ -94,6 +94,7 @@ CharacterMapWidget::CharacterMapWidget()
|
|||
m_find_window->set_icon(GUI::Icon::try_create_default_icon("find"sv).value().bitmap_for_size(16));
|
||||
m_find_window->set_title("Find a character");
|
||||
m_find_window->resize(300, 400);
|
||||
m_find_window->set_window_mode(GUI::WindowMode::Modeless);
|
||||
}
|
||||
m_find_window->show();
|
||||
m_find_window->move_to_front();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue