From ecce226b12d9b9dd7cf13ef81757830cbe8cdb78 Mon Sep 17 00:00:00 2001 From: Crementif <26669564+Crementif@users.noreply.github.com> Date: Wed, 4 Mar 2026 14:10:56 +0100 Subject: [PATCH] UI: Add small padding to fix icon overflow issues --- src/gui/wxgui/components/wxGameList.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/wxgui/components/wxGameList.cpp b/src/gui/wxgui/components/wxGameList.cpp index cf77119a..a1e5142d 100644 --- a/src/gui/wxgui/components/wxGameList.cpp +++ b/src/gui/wxgui/components/wxGameList.cpp @@ -304,7 +304,7 @@ int wxGameList::GetColumnDefaultWidth(int column) switch (column) { case ColumnIcon: - return kListIconWidth; + return kListIconWidth+2; case ColumnName: return DefaultColumnSize::name; case ColumnVersion: @@ -994,7 +994,7 @@ void wxGameList::ApplyGameListColumnWidths() const auto& config = GetWxGUIConfig(); wxWindowUpdateLocker lock(this); if(config.show_icon_column) - SetColumnWidth(ColumnIcon, kListIconWidth); + SetColumnWidth(ColumnIcon, kListIconWidth+2); else SetColumnWidth(ColumnIcon, 0); SetColumnWidth(ColumnName, config.column_width.name);