mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:47:34 +00:00
Browser: Allow usage of vertical tabs
Add implementation of vertical tabs into the browser, with the new `Ctrl + ,` shortcut, or within the View Options
This commit is contained in:
parent
5b82bd719e
commit
df7fd39fcc
3 changed files with 22 additions and 0 deletions
|
@ -81,6 +81,15 @@ WindowActions::WindowActions(GUI::Window& window)
|
|||
},
|
||||
&window);
|
||||
m_show_bookmarks_bar_action->set_status_tip("Show/hide the bookmarks bar");
|
||||
|
||||
m_vertical_tabs_action = GUI::Action::create_checkable(
|
||||
"&Vertical Tabs", { Mod_Ctrl, Key_Comma },
|
||||
[this](auto& action) {
|
||||
if (on_vertical_tabs)
|
||||
on_vertical_tabs(action);
|
||||
},
|
||||
&window);
|
||||
m_vertical_tabs_action->set_status_tip("Enable/Disable vertical tabs");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue