mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Spreadsheet: Use a fixed-width font in the cell editor
This commit is contained in:
parent
c5278dac99
commit
d125c624c6
Notes:
sideshowbarker
2024-07-19 03:07:30 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/d125c624c6a
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ SpreadsheetWidget::SpreadsheetWidget(NonnullRefPtrVector<Sheet>&& sheets, bool s
|
|||
};
|
||||
|
||||
auto& cell_value_editor = top_bar.add<GUI::TextEditor>(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<CellSyntaxHighlighter>());
|
||||
|
|
Loading…
Reference in a new issue