UI: Prevent stretching game icons on detail.

Also, make them a bit bigger in the save data screen.
This commit is contained in:
Unknown W. Brackets committed 2020-03-23 17:43:58 -07:00
1 parent 03cd1d5c5e
commit dbb19d169f
4 files changed
+12 -7

No files matched your search

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