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:
parent
b49683b2e8
commit
e6cee3a130
|
@ -272,9 +272,11 @@ void CGameListCtrl::Update()
|
||||||
const int platform_padding = 8;
|
const int platform_padding = 8;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
const int platform_icon_padding = 1;
|
||||||
|
|
||||||
// set initial sizes for columns
|
// set initial sizes for columns
|
||||||
SetColumnWidth(COLUMN_DUMMY, 0);
|
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_BANNER, SConfig::GetInstance().m_showBannerColumn ? 96 + platform_padding : 0);
|
||||||
SetColumnWidth(COLUMN_TITLE, 175 + platform_padding);
|
SetColumnWidth(COLUMN_TITLE, 175 + platform_padding);
|
||||||
SetColumnWidth(COLUMN_MAKER, SConfig::GetInstance().m_showMakerColumn ? 150 + platform_padding : 0);
|
SetColumnWidth(COLUMN_MAKER, SConfig::GetInstance().m_showMakerColumn ? 150 + platform_padding : 0);
|
||||||
|
|
Loading…
Reference in New Issue