Correct look of the screen rotation picker on the System tab in settings

This commit is contained in:
Henrik Rydgård committed 2026-02-08 00:53:50 +01:00
1 parent f257ad4f7f
commit a342b53d6d
2 files changed
+5 -2

No files matched your search

+4 -2
View File
@@ -245,8 +245,10 @@ void AddRotationPicker(ScreenManager *screenManager, UI::ViewGroup *parent, bool
auto co = GetI18NCategory(I18NCat::CONTROLS);
PopupMultiChoice *rot = parent->Add(new PopupMultiChoice(&g_Config.iScreenRotation, text ? co->T("Screen Rotation") : "", screenRotation, 0, ARRAY_SIZE(screenRotation), I18NCat::CONTROLS, screenManager, text ? nullptr : new LinearLayoutParams(ITEM_HEIGHT, ITEM_HEIGHT)));
rot->SetHideTitle(true);
rot->SetIconOnly(true);
if (!text) {
rot->SetHideTitle(true);
rot->SetIconOnly(true);
}
rot->SetChoiceIcons(screenRotationIcons);
// Portrait Reversed is not recommended on iPhone (and we also ban it in the plist).