mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:37:44 +00:00
Applications: Add fullscreen for Office category
This commit is contained in:
parent
4aca883d51
commit
8886324cbf
3 changed files with 15 additions and 0 deletions
|
@ -109,6 +109,11 @@ ErrorOr<NonnullRefPtr<CalendarWidget>> CalendarWidget::create(GUI::Window* paren
|
|||
view_menu->add_action(*view_month_action);
|
||||
view_menu->add_action(*view_year_action);
|
||||
|
||||
view_menu->add_separator();
|
||||
view_menu->add_action(GUI::CommonActions::make_fullscreen_action([&](auto&) {
|
||||
parent_window->set_fullscreen(!parent_window->is_fullscreen());
|
||||
}));
|
||||
|
||||
auto help_menu = parent_window->add_menu("&Help"_string);
|
||||
help_menu->add_action(GUI::CommonActions::make_command_palette_action(parent_window));
|
||||
help_menu->add_action(GUI::CommonActions::make_help_action([](auto&) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue