mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-22 20:45:22 +00: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()
|
||||
{
|
||||
m_img_list = new wxImageList(56, 31);
|
||||
m_img_list = new wxImageList(58, 32);
|
||||
|
||||
m_columns.clear();
|
||||
m_columns.emplace_back(m_columns.size(), 75, "Icon");
|
||||
|
@ -130,11 +130,11 @@ public:
|
|||
// load icons
|
||||
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)
|
||||
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));
|
||||
|
|
Loading…
Add table
Reference in a new issue