From f57d9789f831879d5f572c64deba1aaad6f08d6a Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Fri, 2 Feb 2024 16:36:30 +0000 Subject: [PATCH] HexEditor: Paint byte characters with correct width --- Userland/Applications/HexEditor/HexEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Applications/HexEditor/HexEditor.cpp b/Userland/Applications/HexEditor/HexEditor.cpp index 3a47c40a11..7572b14416 100644 --- a/Userland/Applications/HexEditor/HexEditor.cpp +++ b/Userland/Applications/HexEditor/HexEditor.cpp @@ -636,7 +636,7 @@ void HexEditor::paint_event(GUI::PaintEvent& event) Gfx::IntRect hex_display_rect_high_nibble { frame_thickness() + offset_margin_width() + column * cell_width() + 2 * m_padding, frame_thickness() + m_padding + row * line_height(), - cell_width() / 2, + character_width(), line_height() - m_line_spacing };