From d125c624c6ac5f7c5550cfbbf6ee96b647a06001 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 26 Aug 2020 16:57:54 +0200 Subject: [PATCH] Spreadsheet: Use a fixed-width font in the cell editor --- Applications/Spreadsheet/SpreadsheetWidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Applications/Spreadsheet/SpreadsheetWidget.cpp b/Applications/Spreadsheet/SpreadsheetWidget.cpp index 777062c9e1e..88fd89e7fdf 100644 --- a/Applications/Spreadsheet/SpreadsheetWidget.cpp +++ b/Applications/Spreadsheet/SpreadsheetWidget.cpp @@ -69,6 +69,7 @@ SpreadsheetWidget::SpreadsheetWidget(NonnullRefPtrVector&& sheets, bool s }; auto& cell_value_editor = top_bar.add(GUI::TextEditor::Type::SingleLine); + cell_value_editor.set_font(Gfx::Font::default_fixed_width_font()); cell_value_editor.set_scrollbars_enabled(false); cell_value_editor.set_syntax_highlighter(make());