Split the display layout config between landscape and portrait orientations

This commit is contained in:
Henrik Rydgård committed 2025-11-05 12:49:51 +01:00
1 parent 3e2edbfe81
commit 67010ff2af
60 files changed
+480 -317

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ void TouchControlVisibilityScreen::CreateVisibilityTab(UI::LinearLayout *vert) {
auto di = GetI18NCategory(I18NCat::DIALOG);
auto co = GetI18NCategory(I18NCat::CONTROLS);
const bool portrait = UsePortraitLayout();
const bool portrait = GetDeviceOrientation() == DeviceOrientation::Portrait;
Choice *toggleAll = new Choice(di->T("Toggle All"), "", false, new AnchorLayoutParams(leftColumnWidth - 10, WRAP_CONTENT, 10, NONE, NONE, 84));