mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:12:43 +00:00 
			
		
		
		
	Spreadsheet: Use a fixed-width font in the cell editor
This commit is contained in:
		
							parent
							
								
									c5278dac99
								
							
						
					
					
						commit
						d125c624c6
					
				
					 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling