mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
icon sizing fix
This commit is contained in:
parent
8b4de95919
commit
6c571b30d2
1 changed files with 3 additions and 3 deletions
|
@ -84,7 +84,7 @@ public:
|
||||||
|
|
||||||
void Init()
|
void Init()
|
||||||
{
|
{
|
||||||
m_img_list = new wxImageList(56, 31);
|
m_img_list = new wxImageList(58, 32);
|
||||||
|
|
||||||
m_columns.clear();
|
m_columns.clear();
|
||||||
m_columns.emplace_back(m_columns.size(), 75, "Icon");
|
m_columns.emplace_back(m_columns.size(), 75, "Icon");
|
||||||
|
@ -130,11 +130,11 @@ public:
|
||||||
// load icons
|
// load icons
|
||||||
for (const auto& path : m_col_icon->data)
|
for (const auto& path : m_col_icon->data)
|
||||||
{
|
{
|
||||||
wxImage game_icon(56, 31);
|
wxImage game_icon(58, 32);
|
||||||
{
|
{
|
||||||
wxLogNull logNo; // temporary disable wx warnings ("iCCP: known incorrect sRGB profile" spamming)
|
wxLogNull logNo; // temporary disable wx warnings ("iCCP: known incorrect sRGB profile" spamming)
|
||||||
if (game_icon.LoadFile(fmt::FromUTF8(path), wxBITMAP_TYPE_PNG))
|
if (game_icon.LoadFile(fmt::FromUTF8(path), wxBITMAP_TYPE_PNG))
|
||||||
game_icon.Rescale(56, 31);
|
game_icon.Rescale(58, 32);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_icon_indexes.push_back(m_img_list->Add(game_icon));
|
m_icon_indexes.push_back(m_img_list->Add(game_icon));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue