From 5e2db9d16a20c2905fa7301da95b9e1c8b5d35d5 Mon Sep 17 00:00:00 2001 From: Floris Bos Date: Sat, 27 Nov 2021 21:44:32 +0100 Subject: [PATCH] QML: fix warning about anchors --- main.qml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/main.qml b/main.qml index 5f041f7..c1b6314 100644 --- a/main.qml +++ b/main.qml @@ -290,13 +290,9 @@ ApplicationWindow { RowLayout { id: langbar Layout.columnSpan: 3 - Layout.alignment: Qt.AlignCenter | Qt.AlignBottom - /* FIXME: shouldn't use anchors here. But Layout bottom alignment does not - seem to be respected */ - anchors.bottom: parent.bottom - anchors.bottomMargin: 5 + Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom + Layout.bottomMargin: 5 spacing: 10 - visible: imageWriter.isEmbeddedMode() Rectangle {