mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 23:56:06 +00:00
Spreadsheet: Enable "tab key navigation" in the spreadsheet tables
Moving left/right with the tab key is a classic spreadsheet behavior.
This commit is contained in:
parent
6316525d50
commit
057d04d98f
Notes:
sideshowbarker
2024-07-19 03:03:31 +09:00
Author: https://github.com/awesomekling
Commit: 057d04d98f
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ SpreadsheetView::SpreadsheetView(Sheet& sheet)
|
|||
m_table_view->set_grid_style(GUI::TableView::GridStyle::Both);
|
||||
m_table_view->set_cursor_style(GUI::TableView::CursorStyle::Item);
|
||||
m_table_view->set_edit_triggers(GUI::AbstractView::EditTrigger::EditKeyPressed | GUI::AbstractView::AnyKeyPressed | GUI::AbstractView::DoubleClicked);
|
||||
m_table_view->set_tab_key_navigation_enabled(true);
|
||||
m_table_view->row_header().set_visible(true);
|
||||
m_table_view->set_model(SheetModel::create(*m_sheet));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue