1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

Applications: Use modeless windows in some apps

Browser, Spreadsheet and Charactermap now open child windows
modelessly.
This commit is contained in:
thankyouverycool 2022-08-22 15:30:52 -04:00 committed by Andreas Kling
parent 35a230f974
commit d5de9bcc51
3 changed files with 4 additions and 0 deletions

View file

@ -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();