mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 11:39:44 +03:00
TextEditor: Move the Font menu inside the View menu
This will be our first user of the nested menus feature. :^)
This commit is contained in:
parent
63e6b09816
commit
72950f93a3
Notes:
sideshowbarker
2024-07-19 12:26:42 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/72950f93a3f
@ -198,10 +198,11 @@ TextEditorWidget::TextEditorWidget()
|
|||||||
m_editor->update();
|
m_editor->update();
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
menubar->add_menu(move(font_menu));
|
|
||||||
|
|
||||||
auto view_menu = make<GMenu>("View");
|
auto view_menu = make<GMenu>("View");
|
||||||
view_menu->add_action(*m_line_wrapping_setting_action);
|
view_menu->add_action(*m_line_wrapping_setting_action);
|
||||||
|
view_menu->add_separator();
|
||||||
|
view_menu->add_submenu(move(font_menu));
|
||||||
menubar->add_menu(move(view_menu));
|
menubar->add_menu(move(view_menu));
|
||||||
|
|
||||||
auto help_menu = make<GMenu>("Help");
|
auto help_menu = make<GMenu>("Help");
|
||||||
|
Loading…
Reference in New Issue
Block a user