From 970f05d2006a45bee9c4e3d27040559721a0c326 Mon Sep 17 00:00:00 2001 From: Daniel Teichmann Date: Tue, 29 Jun 2021 16:12:42 +0200 Subject: Fix header being too small in portrait mode --- src/main.qml | 2 +- src/scenes/Scene_placeholder.qml | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'src') diff --git a/src/main.qml b/src/main.qml index ac4b503..e94b291 100644 --- a/src/main.qml +++ b/src/main.qml @@ -349,7 +349,7 @@ ApplicationWindow { height: parent.height color: "#ffffff" text: qsTr("Allow Remote Control") - anchors.left: theme.right + anchors.left: inPortrait ? burger_button.right : theme.right anchors.leftMargin: 5 horizontalAlignment: Text.AlignRight padding: 5 diff --git a/src/scenes/Scene_placeholder.qml b/src/scenes/Scene_placeholder.qml index fcb6134..7485518 100644 --- a/src/scenes/Scene_placeholder.qml +++ b/src/scenes/Scene_placeholder.qml @@ -45,12 +45,6 @@ Item { } } - - - - - - /*##^## Designer { D{i:0;autoSize:true;height:480;width:640} } -- cgit v1.2.3