mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:48:11 +00:00
LibGUI: Adjust GlyphMapWidget content sizing and glyph padding
Fixes a slightly oversized content rect and erroneous glyph outer rect values. Increases glyph rect padding to guarantee at least 1px between the focus rect and glyph.
This commit is contained in:
parent
0f5ce017c5
commit
e34503800c
2 changed files with 11 additions and 12 deletions
|
@ -100,8 +100,8 @@ private:
|
|||
int m_glyph_count { 0x110000 };
|
||||
int m_columns { 0 };
|
||||
int m_rows { 0 };
|
||||
int m_horizontal_spacing { 2 };
|
||||
int m_vertical_spacing { 2 };
|
||||
int m_horizontal_spacing { 4 };
|
||||
int m_vertical_spacing { 4 };
|
||||
Selection m_selection;
|
||||
int m_active_glyph { 0 };
|
||||
int m_visible_glyphs { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue