From bc3c199bb1a8fcc5153ca75e4b1f297aedbf6f32 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 25 Mar 2019 13:35:52 +0100 Subject: [PATCH] GItemView: Add slightly more horizontal padding to the icon labels. --- LibGUI/GItemView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibGUI/GItemView.cpp b/LibGUI/GItemView.cpp index a5d14e8e19..29195cdc7b 100644 --- a/LibGUI/GItemView.cpp +++ b/LibGUI/GItemView.cpp @@ -127,7 +127,7 @@ void GItemView::paint_event(GPaintEvent& event) Rect text_rect { 0, icon_rect.bottom() + 6 + 1, font.width(item_text.to_string()), font.glyph_height() }; text_rect.center_horizontally_within(item_rect); - text_rect.inflate(4, 4); + text_rect.inflate(6, 4); Color text_color; if (is_selected_item)