mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:08:12 +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
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