DolphinWX: Re-add some padding for platform icons

The padding on the right was changed from 3px to 0px by fd2d505. 1px is
needed for counteracting the white 1px line to the left of the game list.
This commit is contained in:
JosJuice 2016-01-06 21:06:36 +01:00
parent b49683b2e8
commit e6cee3a130
1 changed files with 3 additions and 1 deletions

View File

@ -272,9 +272,11 @@ void CGameListCtrl::Update()
const int platform_padding = 8;
#endif
const int platform_icon_padding = 1;
// set initial sizes for columns
SetColumnWidth(COLUMN_DUMMY, 0);
SetColumnWidth(COLUMN_PLATFORM, SConfig::GetInstance().m_showSystemColumn ? 32 + platform_padding : 0);
SetColumnWidth(COLUMN_PLATFORM, SConfig::GetInstance().m_showSystemColumn ? 32 + platform_icon_padding + platform_padding : 0);
SetColumnWidth(COLUMN_BANNER, SConfig::GetInstance().m_showBannerColumn ? 96 + platform_padding : 0);
SetColumnWidth(COLUMN_TITLE, 175 + platform_padding);
SetColumnWidth(COLUMN_MAKER, SConfig::GetInstance().m_showMakerColumn ? 150 + platform_padding : 0);