UI: Better way of showing game/savedata images. Fixes #12408

This commit is contained in:
Henrik Rydgård committed 2019-10-15 09:47:58 +02:00
1 parent 5f3f31df6c
commit 2d4b5ffb55
7 files changed
+61 -63

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ public:
std::string savedata_title = ginfo->paramSFO.GetValueString("SAVEDATA_TITLE");
if (ginfo->icon.texture) {
toprow->Add(new TextureView(ginfo->icon.texture->GetTexture(), IS_FIXED, new LinearLayoutParams(Margins(10, 5))));
toprow->Add(new GameIconView(savePath_, new LinearLayoutParams(Margins(10, 5))));
}
LinearLayout *topright = new LinearLayout(ORIENT_VERTICAL, new LinearLayoutParams(WRAP_CONTENT, WRAP_CONTENT, 1.0f));
topright->SetSpacing(1.0f);