mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:07:45 +00:00
HexEditor: Paint byte characters with correct width
This commit is contained in:
parent
e2f927a7a7
commit
f57d9789f8
1 changed files with 1 additions and 1 deletions
|
@ -636,7 +636,7 @@ void HexEditor::paint_event(GUI::PaintEvent& event)
|
||||||
Gfx::IntRect hex_display_rect_high_nibble {
|
Gfx::IntRect hex_display_rect_high_nibble {
|
||||||
frame_thickness() + offset_margin_width() + column * cell_width() + 2 * m_padding,
|
frame_thickness() + offset_margin_width() + column * cell_width() + 2 * m_padding,
|
||||||
frame_thickness() + m_padding + row * line_height(),
|
frame_thickness() + m_padding + row * line_height(),
|
||||||
cell_width() / 2,
|
character_width(),
|
||||||
line_height() - m_line_spacing
|
line_height() - m_line_spacing
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue