mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +00:00
HexEditor: Use glyph_fixed_width() for character width
This commit is contained in:
parent
d3012f2df1
commit
0fdbdc5084
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ private:
|
|||
|
||||
size_t total_rows() const { return ceil_div(m_content_length, m_bytes_per_row); }
|
||||
size_t line_height() const { return font().pixel_size_rounded_up() + m_line_spacing; }
|
||||
size_t character_width() const { return font().glyph_width('W'); }
|
||||
size_t character_width() const { return font().glyph_fixed_width(); }
|
||||
size_t cell_width() const { return character_width() * 3; }
|
||||
size_t offset_margin_width() const { return 80; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue