1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

HexEditor: Use the system default fixed width font

This commit is contained in:
Andreas Kling 2020-10-25 18:50:27 +01:00
parent 66e315959d
commit 260b52215c

View file

@ -43,7 +43,7 @@
HexEditor::HexEditor()
{
set_scrollbars_enabled(true);
set_font(GUI::FontDatabase::the().get_by_name("Csilla Thin"));
set_font(Gfx::Font::default_fixed_width_font());
set_background_role(ColorRole::Base);
set_foreground_role(ColorRole::BaseText);
vertical_scrollbar().set_step(line_height());