From a342b53d6d5f938b8a41b22c9c15db565e84fbc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sat, 7 Feb 2026 12:34:03 +0100 Subject: [PATCH] Correct look of the screen rotation picker on the System tab in settings --- UI/GameSettingsScreen.cpp | 1 + UI/MiscViews.cpp | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp index 8bab7c46f0..30e26644b7 100644 --- a/UI/GameSettingsScreen.cpp +++ b/UI/GameSettingsScreen.cpp @@ -1405,6 +1405,7 @@ void GameSettingsScreen::CreateSystemSettings(UI::ViewGroup *systemSettings) { if (System_GetPropertyInt(SYSPROP_DEVICE_TYPE) == DEVICE_TYPE_MOBILE) { auto co = GetI18NCategory(I18NCat::CONTROLS); + // Display rotation AddRotationPicker(screenManager(), systemSettings, true); if (System_GetPropertyBool(SYSPROP_SUPPORTS_SUSTAINED_PERF_MODE)) { diff --git a/UI/MiscViews.cpp b/UI/MiscViews.cpp index fa66571c0e..b26a620faa 100644 --- a/UI/MiscViews.cpp +++ b/UI/MiscViews.cpp @@ -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).