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
@@ -37,7 +37,7 @@ void UITabbedBaseDialogScreen::AddTab(const char *tag, std::string_view title, s
void UITabbedBaseDialogScreen::CreateViews() {
PreCreateViews();
bool portrait = UsePortraitLayout() || ForceHorizontalTabs();
bool portrait = GetDeviceOrientation() == DeviceOrientation::Portrait || ForceHorizontalTabs();
// Information in the top left.
// Back button to the bottom left.