aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-06-29 16:12:42 +0200
committerDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-06-29 16:12:42 +0200
commit970f05d2006a45bee9c4e3d27040559721a0c326 (patch)
tree65fc21739ca544c2182483ceb4b69b741770b387
parent07cfcdac08c248c162d58472457fd55df8ded094 (diff)
downloadRWA.Support.DesktopApp-970f05d2006a45bee9c4e3d27040559721a0c326.tar.gz
RWA.Support.DesktopApp-970f05d2006a45bee9c4e3d27040559721a0c326.tar.bz2
RWA.Support.DesktopApp-970f05d2006a45bee9c4e3d27040559721a0c326.zip
Fix header being too small in portrait mode
-rw-r--r--src/main.qml2
-rw-r--r--src/scenes/Scene_placeholder.qml6
2 files changed, 1 insertions, 7 deletions
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}
}