1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:47:46 +00:00

HexEditor: Respond to font changes

This commit is contained in:
Sam Atkins 2024-02-05 12:41:00 +00:00 committed by Sam Atkins
parent 3318563ad9
commit 6850ef9014
2 changed files with 7 additions and 0 deletions

View file

@ -567,6 +567,12 @@ void HexEditor::context_menu_event(GUI::ContextMenuEvent& event)
m_context_menu->popup(event.screen_position());
}
void HexEditor::theme_change_event(GUI::ThemeChangeEvent&)
{
set_font(Gfx::FontDatabase::default_fixed_width_font());
update_content_size();
}
void HexEditor::update_status()
{
if (on_status_change)