Add ability to put icons on tabs

This commit is contained in:
Henrik Rydgård committed 2025-11-05 14:42:49 +01:00
1 parent 1246b2d131
commit 75020e2ed7
16 files changed
+45 -38

No files matched your search

+1 -1
View File
@@ -146,7 +146,7 @@ void CustomButtonMappingScreen::CreateViews() {
root__->Add(leftColumn);
ScrollView *rightScroll = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(WRAP_CONTENT, WRAP_CONTENT, 1.0f));
leftColumn->Add(new Spacer(new LinearLayoutParams(1.0f)));
leftColumn->Add(new Choice(di->T("Back")))->OnClick.Handle<UIScreen>(this, &UIScreen::OnBack);
leftColumn->Add(new Choice(di->T("Back"), ImageID("I_NAVIGATE_BACK")))->OnClick.Handle<UIScreen>(this, &UIScreen::OnBack);
root__->Add(rightScroll);
LinearLayout *vertLayout = new LinearLayout(ORIENT_VERTICAL);